[X86] Add AddedComplexity to keep some similar patterns near each other in the output file.

llvm-svn: 268181
This commit is contained in:
Craig Topper 2016-05-01 04:59:49 +00:00
parent 7ed84d826e
commit eb9a87918b

View File

@ -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))),