mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
[AVX512] Add a missing NoVLX to give priority to the AVX512 version of the pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c269039612
commit
69842b3053
@ -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))>;
|
||||
|
Loading…
Reference in New Issue
Block a user