diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-05-01 04:59:49 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-05-01 04:59:49 +0000 |
commit | eb9a87918b7db2ed9a72a22b23e5fe193b5fcd53 (patch) | |
tree | 3facfd6f219438ca0c6849fb48b450bfea60bc3d | |
parent | 7ed84d826e2f787b15de61ed831d1536950a8631 (diff) | |
download | bcm5719-llvm-eb9a87918b7db2ed9a72a22b23e5fe193b5fcd53.tar.gz bcm5719-llvm-eb9a87918b7db2ed9a72a22b23e5fe193b5fcd53.zip |
[X86] Add AddedComplexity to keep some similar patterns near each other in the output file.
llvm-svn: 268181
-rw-r--r-- | llvm/lib/Target/X86/X86InstrSSE.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td index 4233b26ffcd..a3702659987 100644 --- a/llvm/lib/Target/X86/X86InstrSSE.td +++ b/llvm/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))), |