[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 8 14:53:25 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.121 -> 1.122
---
Log message:
Fix a crash handling 'undef bool', fixing an llc crash on 186.crafty
---
Diffs of the changes: (+1 -1)
PPC32ISelSimple.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.121 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.122
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.121 Fri Jan 14 14:22:02 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Tue Mar 8 16:53:09 2005
@@ -612,7 +612,7 @@
Constant *C, unsigned R) {
if (isa<UndefValue>(C)) {
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R);
- if (getClass(C->getType()) == cLong)
+ if (getClassB(C->getType()) == cLong)
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R+1);
return;
}
More information about the llvm-commits
mailing list