mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
[avx] Add the AddedComplexity to the VINSERTI128 avx2 patterns to give
precedence over the VINSERTF128 avx1 patterns. llvm-svn: 153114
This commit is contained in:
parent
52b3ad9532
commit
f6d522341c
@ -7739,7 +7739,7 @@ def VINSERTI128rm : AVX2AIi8<0x38, MRMSrcMem, (outs VR256:$dst),
|
||||
(int_x86_avx2_vinserti128 VR256:$src1, (memopv2i64 addr:$src2),
|
||||
imm:$src3))]>, VEX_4V;
|
||||
|
||||
let Predicates = [HasAVX2] in {
|
||||
let Predicates = [HasAVX2], AddedComplexity = 1 in {
|
||||
def : Pat<(vinsertf128_insert:$ins (v4i64 VR256:$src1), (v2i64 VR128:$src2),
|
||||
(i32 imm)),
|
||||
(VINSERTI128rr VR256:$src1, VR128:$src2,
|
||||
|
Loading…
Reference in New Issue
Block a user