From 359627ff7035b50e6435cf9415f2a2a7da879a27 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 27 Nov 2017 18:25:54 +0000 Subject: [PATCH] [X86] Remove an unused isel pattern that looked for pshufd with v4f32 type. I don't believe our current lowering/combining would ever produce such a node. We only produce integer typed pshufds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319068 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index d3143c1f6ab..ac465e3963e 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -5765,18 +5765,6 @@ let ExeDomain = SSEPackedSingle in { defm INSERTPS : SS41I_insertf32<0x21, "insertps", 1, SSE_INSERT_ITINS>; } -let Predicates = [UseSSE41] in { - // If we're inserting an element from a load or a null pshuf of a load, - // fold the load into the insertps instruction. - def : Pat<(v4f32 (X86insertps (v4f32 VR128:$src1), (X86PShufd (v4f32 - (scalar_to_vector (loadf32 addr:$src2))), (i8 0)), - imm:$src3)), - (INSERTPSrm VR128:$src1, addr:$src2, imm:$src3)>; - def : Pat<(v4f32 (X86insertps (v4f32 VR128:$src1), (X86PShufd - (loadv4f32 addr:$src2), (i8 0)), imm:$src3)), - (INSERTPSrm VR128:$src1, addr:$src2, imm:$src3)>; -} - let Predicates = [UseAVX] in { // If we're inserting an element from a vbroadcast of a load, fold the // load into the X86insertps instruction. -- 2.50.1