[llvm] r336638 - [X86] Remove some seemingly unnecessary patterns.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 9 22:31:42 PDT 2018
Author: ctopper
Date: Mon Jul 9 22:31:42 2018
New Revision: 336638
URL: http://llvm.org/viewvc/llvm-project?rev=336638&view=rev
Log:
[X86] Remove some seemingly unnecessary patterns.
We're missing the EVEX equivalents of these patterns and seem to get along fine.
I think we end up with X86vzload for the obvious IR cases that would produce this DAG.
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=336638&r1=336637&r2=336638&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Mon Jul 9 22:31:42 2018
@@ -4339,8 +4339,6 @@ def : InstAlias<"movq.s\t{$src, $dst|$ds
(MOVPQI2QIrr VR128:$dst, VR128:$src), 0>;
let Predicates = [UseAVX], AddedComplexity = 20 in {
- def : Pat<(v2i64 (X86vzmovl (v2i64 (scalar_to_vector (loadi64 addr:$src))))),
- (VMOVQI2PQIrm addr:$src)>;
def : Pat<(v2i64 (X86vzmovl (loadv2i64 addr:$src))),
(VMOVQI2PQIrm addr:$src)>;
def : Pat<(v2i64 (X86vzload addr:$src)),
@@ -4353,8 +4351,6 @@ let Predicates = [UseAVX], AddedComplexi
}
let Predicates = [UseSSE2], AddedComplexity = 20 in {
- def : Pat<(v2i64 (X86vzmovl (v2i64 (scalar_to_vector (loadi64 addr:$src))))),
- (MOVQI2PQIrm addr:$src)>;
def : Pat<(v2i64 (X86vzmovl (loadv2i64 addr:$src))),
(MOVQI2PQIrm addr:$src)>;
def : Pat<(v2i64 (X86vzload addr:$src)), (MOVQI2PQIrm addr:$src)>;
More information about the llvm-commits
mailing list