OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3774544
)
[X86] Add AddedComplexity to keep some similar patterns near each other in the output...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 1 May 2016 04:59:49 +0000
(
04:59
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 1 May 2016 04:59:49 +0000
(
04:59
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268181
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrSSE.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrSSE.td
b/lib/Target/X86/X86InstrSSE.td
index
4233b26
..
a370265
100644
(file)
--- a/
lib/Target/X86/X86InstrSSE.td
+++ b/
lib/Target/X86/X86InstrSSE.td
@@
-7247,6
+7247,7
@@
let Predicates = [UseSSE41] in {
// With SSE41 we can use blends for these patterns.
def : Pat<(v4f32 (X86vzmovl (v4f32 VR128:$src))),
(BLENDPSrri (v4f32 (V_SET0)), VR128:$src, (i8 1))>;
+ let AddedComplexity = 15 in
def : Pat<(v4i32 (X86vzmovl (v4i32 VR128:$src))),
(PBLENDWrri (v4i32 (V_SET0)), VR128:$src, (i8 3))>;
def : Pat<(v2f64 (X86vzmovl (v2f64 VR128:$src))),