[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at persephone.cs.uiuc.edu
Tue Aug 9 20:40:31 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.127 -> 1.128
---
Log message:
Fix a bug compiling: select (i32 < i32), f32, f32
---
Diffs of the changes: (+1 -0)
PPC32ISelPattern.cpp | 1 +
1 files changed, 1 insertion
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.127 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.128
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.127 Tue Aug 9 15:21:09 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Tue Aug 9 22:40:09 2005
@@ -2140,6 +2140,7 @@
ISD::CondCode CC;
if (Cond->getOpcode() == ISD::SETCC &&
!MVT::isInteger(N.getOperand(1).getValueType()) &&
+ !MVT::isInteger(Cond->getOperand(1).getValueType()) &&
cast<CondCodeSDNode>(Cond->getOperand(2))->get() != ISD::SETEQ &&
cast<CondCodeSDNode>(Cond->getOperand(2))->get() != ISD::SETNE) {
MVT::ValueType VT = Cond->getOperand(0).getValueType();
More information about the llvm-commits
mailing list