OSDN Git Service

[AVX-512] Add broadcast VPTERNLOG instructions to special case commuting switch.
authorCraig Topper <craig.topper@gmail.com>
Sun, 19 Feb 2017 08:03:26 +0000 (08:03 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 19 Feb 2017 08:03:26 +0000 (08:03 +0000)
commit9ca276657af51f753669cb6c4030159356258dc1
tree3323d74c5181e7236dea7f2d308228353bd112ac
parent1f1330b623b45e10f524d20a200891c55ebb9246
[AVX-512] Add broadcast VPTERNLOG instructions to special case commuting switch.

The instructions are marked commutable, but without special handling we don't get the immediate correct.

While here also remove the masked memory forms that aren't commutable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295602 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx512-vpternlog-commute.ll