aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/PeepholeOptimizer.cpp2
-rw-r--r--lib/Target/X86/X86PeepholeOpt.cpp2
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: