projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3e3ef
)
[X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped...
author
Craig Topper
<craig.topper@gmail.com>
Tue, 6 Oct 2015 02:50:21 +0000
(
02:50
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Tue, 6 Oct 2015 02:50:21 +0000
(
02:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249369
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrCompiler.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrCompiler.td
b/lib/Target/X86/X86InstrCompiler.td
index 654d8cc98fa1a649dd3ed1037bb4a625e8c3569a..5d07c70249904e2e2acf119d69ae9b18843c9911 100644
(file)
--- a/
lib/Target/X86/X86InstrCompiler.td
+++ b/
lib/Target/X86/X86InstrCompiler.td
@@
-1322,7
+1322,6
@@
def : Pat<(and GR64:$src, 0x00000000FFFFFFFF),
(MOV32rr (EXTRACT_SUBREG GR64:$src, sub_32bit)),
sub_32bit)>;
// r & (2^16-1) ==> movz
-let AddedComplexity = 1 in // Give priority over i64immZExt32.
def : Pat<(and GR64:$src, 0xffff),
(SUBREG_TO_REG (i64 0),
(MOVZX32rr16 (i16 (EXTRACT_SUBREG GR64:$src, sub_16bit))),