llvm.org GIT mirror llvm / dc5a2da
[X86][SSE] Minor fix to VPBLENDW AVX2 commutation. D6015 / rL221313 enabled commutation for SSE immediate blend instructions, but due to a typo the AVX2 VPBLENDW ymm instructions weren't flagged as commutative along with the others in the tables, but were still being commuted in code and tested for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225612 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 5 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
72407240
72417241 let Predicates = [HasAVX2] in {
72427242 let isCommutable = 0 in {
7243 defm VPBLENDWY : SS41I_binop_rmi_int<0x0E, "vpblendw", int_x86_avx2_pblendw,
7244 VR256, loadv4i64, i256mem, 0,
7245 DEFAULT_ITINS_BLENDSCHED>, VEX_4V, VEX_L;
72467243 defm VMPSADBWY : SS41I_binop_rmi_int<0x42, "vmpsadbw", int_x86_avx2_mpsadbw,
72477244 VR256, loadv4i64, i256mem, 0,
72487245 DEFAULT_ITINS_MPSADSCHED>, VEX_4V, VEX_L;
72497246 }
7247 defm VPBLENDWY : SS41I_binop_rmi_int<0x0E, "vpblendw", int_x86_avx2_pblendw,
7248 VR256, loadv4i64, i256mem, 0,
7249 DEFAULT_ITINS_BLENDSCHED>, VEX_4V, VEX_L;
72507250 }
72517251
72527252 let Constraints = "$src1 = $dst" in {