[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Nov 22 17:16:01 PST 2002
Changes in directory llvm/lib/Target/X86:
X86RegisterInfo.cpp updated: 1.3 -> 1.4
---
Log message:
Oops. Got the MOVrm and MOVmr mixed up. Fixed. We can now print out
instructions correctly.
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86RegisterInfo.cpp
diff -u llvm/lib/Target/X86/X86RegisterInfo.cpp:1.3 llvm/lib/Target/X86/X86RegisterInfo.cpp:1.4
--- llvm/lib/Target/X86/X86RegisterInfo.cpp:1.3 Fri Nov 22 16:43:47 2002
+++ llvm/lib/Target/X86/X86RegisterInfo.cpp Fri Nov 22 17:15:27 2002
@@ -31,7 +31,7 @@
unsigned ImmOffset, unsigned dataSize)
const
{
- MachineInstr *MI = addRegOffset(BuildMI(X86::MOVmr32, 5).addReg(SrcReg),
+ MachineInstr *MI = addRegOffset(BuildMI(X86::MOVrm32, 5).addReg(SrcReg),
DestReg, ImmOffset);
return ++(MBB->insert(MBBI, MI));
}
@@ -43,7 +43,7 @@
unsigned ImmOffset, unsigned dataSize)
const
{
- MachineInstr *MI = addRegOffset(BuildMI(X86::MOVrm32, 5).addReg(DestReg),
+ MachineInstr *MI = addRegOffset(BuildMI(X86::MOVmr32, 5).addReg(DestReg),
SrcReg, ImmOffset);
return ++(MBB->insert(MBBI, MI));
}
More information about the llvm-commits
mailing list