[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 21 16:50:05 PST 2002
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.35 -> 1.36
---
Log message:
Don't add implicit operands
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.35 llvm/lib/Target/X86/InstSelectSimple.cpp:1.36
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.35 Thu Nov 21 12:54:29 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Thu Nov 21 16:49:20 2002
@@ -225,12 +225,12 @@
// FIXME: assuming var1, var2 are in memory, if not, spill to
// stack first
case cFloat: // Floats
- BuildMI (BB, X86::FLDr4, 1, X86::NoReg).addReg (reg1);
- BuildMI (BB, X86::FLDr4, 1, X86::NoReg).addReg (reg2);
+ BuildMI (BB, X86::FLDr4, 1).addReg (reg1);
+ BuildMI (BB, X86::FLDr4, 1).addReg (reg2);
break;
case cDouble: // Doubles
- BuildMI (BB, X86::FLDr8, 1, X86::NoReg).addReg (reg1);
- BuildMI (BB, X86::FLDr8, 1, X86::NoReg).addReg (reg2);
+ BuildMI (BB, X86::FLDr8, 1).addReg (reg1);
+ BuildMI (BB, X86::FLDr8, 1).addReg (reg2);
break;
case cLong:
default:
@@ -522,7 +522,7 @@
const unsigned *OpTab = // Figure out the operand table to use
NonConstantOperand[isLeftShift*2+isOperandSigned];
- BuildMI(BB, OpTab[OperandClass], 2, DestReg).addReg(Op0r).addReg(X86::CL);
+ BuildMI(BB, OpTab[OperandClass], 1, DestReg).addReg(Op0r);
}
}
More information about the llvm-commits
mailing list