[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Nate Begeman
natebegeman at mac.com
Tue Aug 10 20:31:05 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.57 -> 1.58
---
Log message:
Fix 255.vortex by using getClassB instead of getClass
---
Diffs of the changes: (+1 -2)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.57 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.58
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.57 Tue Aug 10 19:09:42 2004
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Tue Aug 10 22:30:55 2004
@@ -605,7 +605,6 @@
}
return;
}
-
std::cerr << "Unhandled integer constant!\n";
abort();
} else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
@@ -1243,7 +1242,7 @@
BuildMI(BB, PPC::PHI, 4, DestReg).addReg(FalseValue)
.addMBB(copy0MBB).addReg(TrueValue).addMBB(copy1MBB);
// For a register pair representing a long value, define the second reg
- if (getClass(TrueVal->getType()) == cLong)
+ if (getClassB(TrueVal->getType()) == cLong)
BuildMI(BB, PPC::LI, 1, DestReg+1).addImm(0);
return;
}
More information about the llvm-commits
mailing list