[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Feb 1 02:23:04 PST 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.18 -> 1.19
---
Log message:
FpMOV is also a move instruction.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.18 llvm/lib/Target/X86/X86InstrInfo.cpp:1.19
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.18 Sun Dec 28 11:35:07 2003
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Sun Feb 1 02:22:16 2004
@@ -55,7 +55,8 @@
unsigned& sourceReg,
unsigned& destReg) const {
MachineOpCode oc = MI.getOpcode();
- if (oc == X86::MOVrr8 || oc == X86::MOVrr16 || oc == X86::MOVrr32) {
+ if (oc == X86::MOVrr8 || oc == X86::MOVrr16 || oc == X86::MOVrr32 ||
+ oc == X86::FpMOV) {
assert(MI.getNumOperands() == 2 &&
MI.getOperand(0).isRegister() &&
MI.getOperand(1).isRegister() &&
More information about the llvm-commits
mailing list