[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 29 16:49:37 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelDAGToDAG.cpp updated: 1.53 -> 1.54
---
Log message:
fix a crash in cfrac
---
Diffs of the changes: (+2 -2)
PPC32ISelDAGToDAG.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.53 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.54
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.53 Mon Aug 29 18:30:11 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp Mon Aug 29 18:49:25 2005
@@ -1373,8 +1373,8 @@
break;
case ISD::SETNE: {
Op = CurDAG->getTargetNode(PPC::NOR, MVT::i32, Op, Op);
- SDOperand AD = CurDAG->getTargetNode(PPC::ADDIC, MVT::i32, Op,
- getI32Imm(~0U));
+ SDOperand AD = CurDAG->getTargetNode(PPC::ADDIC, MVT::i32, MVT::Flag,
+ Op, getI32Imm(~0U));
CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, AD, Op, AD.getValue(1));
break;
}
More information about the llvm-commits
mailing list