[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Feb 1 15:03:28 PST 2006
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.41 -> 1.42
---
Log message:
Tell codegen MOVAPSrr and MOVAPDrr are copies.
---
Diffs of the changes: (+2 -1)
X86InstrInfo.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.41 llvm/lib/Target/X86/X86InstrInfo.cpp:1.42
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.41 Fri Oct 14 17:06:00 2005
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Wed Feb 1 17:03:16 2006
@@ -28,7 +28,8 @@
unsigned& destReg) const {
MachineOpCode oc = MI.getOpcode();
if (oc == X86::MOV8rr || oc == X86::MOV16rr || oc == X86::MOV32rr ||
- oc == X86::FpMOV || oc == X86::MOVSSrr || oc == X86::MOVSDrr) {
+ oc == X86::FpMOV || oc == X86::MOVSSrr || oc == X86::MOVSDrr ||
+ oc == X86::MOVAPSrr || oc == X86::MOVAPDrr) {
assert(MI.getNumOperands() == 2 &&
MI.getOperand(0).isRegister() &&
MI.getOperand(1).isRegister() &&
More information about the llvm-commits
mailing list