From 6ad2f930da0ebadb0e000397cea8384c650877bb Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 1 Apr 2008 01:51:26 +0000 Subject: [PATCH] Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49013 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 78c0263c14e..a6d606eb212 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -6781,6 +6781,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){ Lo = ExpandIntToFP(Node->getOpcode() == ISD::SINT_TO_FP, VT, Node->getOperand(0)); if (getTypeAction(Lo.getValueType()) == Expand) + // float to i32 etc. can be 'expanded' to a single node. ExpandOp(Lo, Lo, Hi); break; } -- 2.34.1