[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Jul 17 16:31:01 PDT 2003
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.112 -> 1.113
---
Log message:
Use getClassB for load and store; we don't want to abort when we
try to load or store through a bool*.
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.112 llvm/lib/Target/X86/InstSelectSimple.cpp:1.113
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.112 Mon Jun 30 14:35:54 2003
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Thu Jul 17 16:30:06 2003
@@ -1433,7 +1433,7 @@
unsigned SrcAddrReg = getReg(I.getOperand(0));
unsigned DestReg = getReg(I);
- unsigned Class = getClass(I.getType());
+ unsigned Class = getClassB(I.getType());
switch (Class) {
case cFP: {
MachineBasicBlock::iterator MBBI = BB->end();
@@ -1533,7 +1533,7 @@
unsigned ValReg = getReg(I.getOperand(0));
unsigned AddressReg = getReg(I.getOperand(1));
- unsigned Class = getClass(I.getOperand(0)->getType());
+ unsigned Class = getClassB(I.getOperand(0)->getType());
switch (Class) {
case cLong:
if (isLittleEndian) {
More information about the llvm-commits
mailing list