[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Nate Begeman
natebegeman at mac.com
Sun Aug 14 11:38:43 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.159 -> 1.160
---
Log message:
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.
---
Diffs of the changes: (+1 -0)
LegalizeDAG.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.159 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.160
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.159 Sat Aug 13 20:20:53 2005
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Sun Aug 14 13:38:32 2005
@@ -1625,6 +1625,7 @@
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!");
}
More information about the llvm-commits
mailing list