[llvm] r319068 - [X86] Remove an unused isel pattern that looked for pshufd with v4f32 type.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 10:25:54 PST 2017
Author: ctopper
Date: Mon Nov 27 10:25:54 2017
New Revision: 319068
URL: http://llvm.org/viewvc/llvm-project?rev=319068&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Target/X86/X86InstrSSE.td
Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=319068&r1=319067&r2=319068&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Mon Nov 27 10:25:54 2017
@@ -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.
More information about the llvm-commits
mailing list