[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 2 12:38:23 PST 2006
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.43 -> 1.44
---
Log message:
fix operand numbers
---
Diffs of the changes: (+4 -4)
X86InstrInfo.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.43 llvm/lib/Target/X86/X86InstrInfo.cpp:1.44
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.43 Thu Feb 2 14:12:32 2006
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Thu Feb 2 14:38:12 2006
@@ -76,10 +76,10 @@
case X86::MOVSDmr:
if (MI->getOperand(0).isFrameIndex() && MI->getOperand(1).isImmediate() &&
MI->getOperand(2).isRegister() && MI->getOperand(3).isImmediate() &&
- MI->getOperand(3).getImmedValue() == 1 &&
- MI->getOperand(4).getReg() == 0 &&
- MI->getOperand(5).getImmedValue() == 0) {
- FrameIndex = MI->getOperand(1).getFrameIndex();
+ MI->getOperand(1).getImmedValue() == 1 &&
+ MI->getOperand(2).getReg() == 0 &&
+ MI->getOperand(3).getImmedValue() == 0) {
+ FrameIndex = MI->getOperand(0).getFrameIndex();
return MI->getOperand(4).getReg();
}
break;
More information about the llvm-commits
mailing list