[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 17 19:45:01 PST 2002
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.75 -> 1.76
---
Log message:
Don't force setCC instructions into AL
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.75 llvm/lib/Target/X86/InstSelectSimple.cpp:1.76
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.75 Mon Dec 16 17:36:57 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Tue Dec 17 19:44:31 2002
@@ -437,10 +437,7 @@
{X86::SETEr, X86::SETNEr, X86::SETLr, X86::SETGr, X86::SETLEr, X86::SETGEr},
};
- BuildMI(BB, OpcodeTab[CompTy->isSigned()][OpNum], 0, X86::AL);
-
- // Put it in the result using a move.
- BuildMI (BB, X86::MOVrr8, 1, getReg(I)).addReg(X86::AL);
+ BuildMI(BB, OpcodeTab[CompTy->isSigned()][OpNum], 0, getReg(I));
}
/// promote32 - Emit instructions to turn a narrow operand into a 32-bit-wide
More information about the llvm-commits
mailing list