summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86InstrInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-27 02:47:14 +0000
committerChris Lattner <sabre@nondot.org>2010-03-27 02:47:14 +0000
commit07943af506491ea77cd85a6983f3c8596d1756c2 (patch)
tree98ccee420b4a2172dfcc585482beb910d03101e8 /llvm/lib/Target/X86/X86InstrInfo.td
parent81c03447fc6358197258903e3fc6ee65b16ee768 (diff)
downloadbcm5719-llvm-07943af506491ea77cd85a6983f3c8596d1756c2.tar.gz
bcm5719-llvm-07943af506491ea77cd85a6983f3c8596d1756c2.zip
eliminate the last of the parallel's!
llvm-svn: 99700
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.td')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index cf58c8f4269..8ca731af7d6 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -4822,13 +4822,8 @@ def : Pat<(mul (loadi32 addr:$src1), i32immSExt8:$src2),
// Optimize multiply by 2 with EFLAGS result.
let AddedComplexity = 2 in {
-def : Pat<(parallel (X86smul_flag GR16:$src1, 2),
- (implicit EFLAGS)),
- (ADD16rr GR16:$src1, GR16:$src1)>;
-
-def : Pat<(parallel (X86smul_flag GR32:$src1, 2),
- (implicit EFLAGS)),
- (ADD32rr GR32:$src1, GR32:$src1)>;
+def : Pat<(X86smul_flag GR16:$src1, 2), (ADD16rr GR16:$src1, GR16:$src1)>;
+def : Pat<(X86smul_flag GR32:$src1, 2), (ADD32rr GR32:$src1, GR32:$src1)>;
}
// Patterns for nodes that do not produce flags, for instructions that do.
OpenPOWER on IntegriCloud