mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
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:
parent
cdee28724e
commit
651fd55d5f
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user