mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
fix operand numbers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6524287c53
commit
1c07e7286d
@ -76,10 +76,10 @@ unsigned X86InstrInfo::isStoreToStackSlot(MachineInstr *MI,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user