diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-17 07:36:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-17 07:36:32 +0000 |
commit | 651fd55d5f90da16bef9b8194598e3fef0e52c74 (patch) | |
tree | 426c87ca8091811dc65e18148e15e0b97389f922 /lib | |
parent | cdee28724ed8adb40b1aabb1cb0cf96215b38b36 (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/PeepholeOptimizer.cpp | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86PeepholeOpt.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/PeepholeOptimizer.cpp b/lib/Target/X86/PeepholeOptimizer.cpp index 35dd4a1df4..fd31d6d0d4 100644 --- a/lib/Target/X86/PeepholeOptimizer.cpp +++ b/lib/Target/X86/PeepholeOptimizer.cpp @@ -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: diff --git a/lib/Target/X86/X86PeepholeOpt.cpp b/lib/Target/X86/X86PeepholeOpt.cpp index 35dd4a1df4..fd31d6d0d4 100644 --- a/lib/Target/X86/X86PeepholeOpt.cpp +++ b/lib/Target/X86/X86PeepholeOpt.cpp @@ -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: |