mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 11:55:12 +00:00
Remove duplicate pattern and add predicate checks on other patterns.
llvm-svn: 200455
This commit is contained in:
parent
cfb7e2a038
commit
7940cc70b4
@ -90,10 +90,11 @@ def AVX512_512_SET0 : I<0, Pseudo, (outs VR512:$dst), (ins), "",
|
|||||||
[(set VR512:$dst, (v16f32 immAllZerosV))]>;
|
[(set VR512:$dst, (v16f32 immAllZerosV))]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let Predicates = [HasAVX512] in {
|
||||||
def : Pat<(v8i64 immAllZerosV), (AVX512_512_SET0)>;
|
def : Pat<(v8i64 immAllZerosV), (AVX512_512_SET0)>;
|
||||||
def : Pat<(v16i32 immAllZerosV), (AVX512_512_SET0)>;
|
def : Pat<(v16i32 immAllZerosV), (AVX512_512_SET0)>;
|
||||||
def : Pat<(v8f64 immAllZerosV), (AVX512_512_SET0)>;
|
def : Pat<(v8f64 immAllZerosV), (AVX512_512_SET0)>;
|
||||||
def : Pat<(v16f32 immAllZerosV), (AVX512_512_SET0)>;
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// AVX-512 - VECTOR INSERT
|
// AVX-512 - VECTOR INSERT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user