From f77ca947ce616d6daa1e68961bf765751446badc Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 1 May 2016 05:22:15 +0000 Subject: [X86] Add an AddedComplexity to another pattern to put it near similar in the output file. llvm-svn: 268184 --- llvm/lib/Target/X86/X86InstrSSE.td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td index 854da9cf50a..2f6074fec4c 100644 --- a/llvm/lib/Target/X86/X86InstrSSE.td +++ b/llvm/lib/Target/X86/X86InstrSSE.td @@ -7243,11 +7243,10 @@ let Predicates = [UseAVX] in { // on targets where they have equal performance. These were changed to use // blends because blends have better throughput on SandyBridge and Haswell, but // movs[s/d] are 1-2 byte shorter instructions. -let Predicates = [UseSSE41] in { +let Predicates = [UseSSE41], AddedComplexity = 15 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))>; } -- cgit v1.2.3