[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Nate Begeman
natebegeman at mac.com
Thu Aug 12 20:57:00 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.60 -> 1.61
---
Log message:
Fix llc crasher compiling siod by giving BuildMI the correct number of arguments
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.60 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.61
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.60 Wed Aug 11 02:40:04 2004
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Thu Aug 12 22:56:49 2004
@@ -2797,7 +2797,7 @@
unsigned TempReg2 = makeAnotherReg(DestTy);
addFrameReference(BuildMI(*BB, IP, PPC::LBZ, 2, TempReg2),
ValueFrameIdx, 7);
- BuildMI(*MBB, IP, PPC::EXTSB, DestReg).addReg(TempReg2);
+ BuildMI(*BB, IP, PPC::EXTSB, 1, DestReg).addReg(TempReg2);
} else {
int offset = (DestClass == cShort) ? 6 : 4;
unsigned LoadOp = (DestClass == cShort) ? PPC::LHA : PPC::LWZ;
More information about the llvm-commits
mailing list