mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Revert r117876 for now, it's causing more testsuite failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3747706fc
commit
b698a56dd4
@ -276,11 +276,9 @@ bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
||||
if (MI->getDesc().isCompare() &&
|
||||
!MI->getDesc().hasUnmodeledSideEffects()) {
|
||||
#if 0
|
||||
if (OptimizeCmpInstr(MI, MBB, MII))
|
||||
Changed = true;
|
||||
else
|
||||
#endif
|
||||
++MII;
|
||||
} else {
|
||||
Changed |= OptimizeExtInstr(MI, MBB, LocalMIs);
|
||||
|
Loading…
Reference in New Issue
Block a user