[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 29 22:40:16 PST 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.115 -> 1.116
---
Log message:
Fix CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.115 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.116
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.115 Tue Nov 30 00:36:11 2004
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Tue Nov 30 00:40:04 2004
@@ -2870,7 +2870,7 @@
// Select correct least significant half if the shift amount > 32
BB = TmpMBB;
unsigned OrReg = makeAnotherReg(Type::IntTy);
- BuildMI(BB, PPC::OR, 2, OrReg).addReg(TmpReg6).addImm(TmpReg6);
+ BuildMI(BB, PPC::OR, 2, OrReg).addReg(TmpReg6).addReg(TmpReg6);
TmpMBB->addSuccessor(PhiMBB);
BB = PhiMBB;
More information about the llvm-commits
mailing list