Disable this peephole for now. We can't keep track of the fact that the immediate is 8 bits,

but the memory reference is full sized.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11536 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-17 07:36:32 +00:00
parent cdee28724e
commit 651fd55d5f
2 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,7 @@ bool PH::PeepholeOptimize(MachineBasicBlock &MBB,
}
return false;
#if 0
case X86::IMULrmi16: case X86::IMULrmi32:
assert(MI->getNumOperands() == 6 && "These should all have 6 operands!");
if (MI->getOperand(5).isImmediate()) {
@ -117,6 +118,7 @@ bool PH::PeepholeOptimize(MachineBasicBlock &MBB,
}
}
return false;
#endif
case X86::ADDri16: case X86::ADDri32:
case X86::ADDmi16: case X86::ADDmi32:

View File

@ -93,6 +93,7 @@ bool PH::PeepholeOptimize(MachineBasicBlock &MBB,
}
return false;
#if 0
case X86::IMULrmi16: case X86::IMULrmi32:
assert(MI->getNumOperands() == 6 && "These should all have 6 operands!");
if (MI->getOperand(5).isImmediate()) {
@ -117,6 +118,7 @@ bool PH::PeepholeOptimize(MachineBasicBlock &MBB,
}
}
return false;
#endif
case X86::ADDri16: case X86::ADDri32:
case X86::ADDmi16: case X86::ADDmi32: