Skip to content

Commit

Permalink
[AVX512] Add a missing NoVLX to give priority to the AVX512 version o…
Browse files Browse the repository at this point in the history
…f the pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276088 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed Jul 20, 2016
1 parent c269039 commit 69842b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/X86InstrSSE.td
Original file line number Diff line number Diff line change
Expand Up @@ -8278,7 +8278,7 @@ def : Pat<(v4i32 (X86VBroadcast (loadi32 addr:$src))),

// 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))>;
Expand Down

0 comments on commit 69842b3

Please sign in to comment.