[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 14 12:22:15 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.120 -> 1.121
---
Log message:
Fix Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.120 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.121
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.120 Fri Jan 14 13:31:00 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Fri Jan 14 14:22:02 2005
@@ -612,6 +612,8 @@
Constant *C, unsigned R) {
if (isa<UndefValue>(C)) {
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R);
+ if (getClass(C->getType()) == cLong)
+ BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R+1);
return;
}
if (C->getType()->isIntegral()) {
More information about the llvm-commits
mailing list