[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 1 17:26:01 PST 2002
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.40 -> 1.41
---
Log message:
Don't add implicit regs
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.40 llvm/lib/Target/X86/InstSelectSimple.cpp:1.41
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.40 Sat Nov 30 05:57:28 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Sun Dec 1 17:24:58 2002
@@ -502,7 +502,7 @@
if (isSigned) {
// Emit a sign extension instruction...
- BuildMI(BB, ExtOpcode[Class], 1, ExtReg).addReg(Reg);
+ BuildMI(BB, ExtOpcode[Class], 0);
} else {
// If unsigned, emit a zeroing instruction... (reg = xor reg, reg)
BuildMI(BB, ClrOpcode[Class], 2, ExtReg).addReg(ExtReg).addReg(ExtReg);
More information about the llvm-commits
mailing list