[llvm] r276088 - [AVX512] Add a missing NoVLX to give priority to the AVX512 version of the pattern.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 22:05:50 PDT 2016
Author: ctopper
Date: Wed Jul 20 00:05:50 2016
New Revision: 276088
URL: http://llvm.org/viewvc/llvm-project?rev=276088&view=rev
Log:
[AVX512] Add a missing NoVLX to give priority to the AVX512 version of the pattern.
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=276088&r1=276087&r2=276088&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Wed Jul 20 00:05:50 2016
@@ -8278,7 +8278,7 @@ def : Pat<(v4i32 (X86VBroadcast (loadi32
// Provide fallback in case the load node that is used in the patterns above
// is used by additional users, which prevents the pattern selection.
-let Predicates = [HasAVX], AddedComplexity = 20 in {
+let Predicates = [HasAVX, NoVLX], AddedComplexity = 20 in {
// 128bit broadcasts:
def : Pat<(v2f64 (X86VBroadcast f64:$src)),
(VMOVDDUPrr (COPY_TO_REGCLASS FR64:$src, VR128))>;
More information about the llvm-commits
mailing list