diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-08-14 18:38:32 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-08-14 18:38:32 +0000 |
commit | 2d56e72f09337a1cab3ba199a9467c159296f3fa (patch) | |
tree | 4271c2d383b96ef4ae582b8b51214a3fc349c0c7 /lib/CodeGen | |
parent | 889f2c1acf930275e277d1438838a28c7ccc65df (diff) |
Fix last night's PPC32 regressions by
1. Not selecting the false value of a select_cc in the false arm, which
isn't legal for nested selects.
2. Actually returning the node we created and Legalized in the FP_TO_UINT
Expander.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index b331785891..3d13b21f22 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -1625,6 +1625,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { False = DAG.getNode(ISD::XOR, NVT, False, DAG.getConstant(1ULL << ShiftAmt, NVT)); Result = LegalizeOp(DAG.getNode(ISD::SELECT, NVT, Tmp3, True, False)); + return Result; } else { assert(0 && "Do not know how to expand FP_TO_SINT yet!"); } |