[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 18 11:42:47 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.67 -> 1.68
---
Log message:
Don't assert on 'select_cc SETUO'
---
Diffs of the changes: (+2 -2)
PPCISelLowering.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.67 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.68
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.67 Sun Jan 15 03:02:48 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Jan 18 13:42:35 2006
@@ -238,7 +238,7 @@
// subtraction at all.
if (isFloatingPointZero(RHS))
switch (CC) {
- default: assert(0 && "Invalid FSEL condition"); abort();
+ default: break; // SETUO etc aren't handled by fsel.
case ISD::SETULT:
case ISD::SETLT:
std::swap(TV, FV); // fsel is natively setge, swap operands for setlt
@@ -260,7 +260,7 @@
SDOperand Cmp;
switch (CC) {
- default: assert(0 && "Invalid FSEL condition"); abort();
+ default: break; // SETUO etc aren't handled by fsel.
case ISD::SETULT:
case ISD::SETLT:
Cmp = DAG.getNode(ISD::FSUB, CmpVT, LHS, RHS);
More information about the llvm-commits
mailing list