]> granicus.if.org Git - llvm/commit
[AVX-512] Remove explicit KMOVWrk/KMOVWKr instructions from patterns where we can...
authorCraig Topper <craig.topper@gmail.com>
Wed, 29 Mar 2017 06:55:28 +0000 (06:55 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 29 Mar 2017 06:55:28 +0000 (06:55 +0000)
commit8d23f77d881bfaa87a12499bbd93ce5c0392c9f6
tree5a24a78aa8b5f193f8066059cff334dfbff770bd
parentf5e37626b97d2797070c2b59dea1e2b1993cb32a
[AVX-512] Remove explicit KMOVWrk/KMOVWKr instructions from patterns where we can just use COPY_TO_REGCLASS instead.

This will result in a KMOVW or KMOVD being emitted during register allocation. And in at least some cases this might allow the register coalescer to remove the copy all together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298984 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/X86/X86InstrAVX512.td
test/CodeGen/X86/avx512-cmp.ll
test/CodeGen/X86/avx512-ext.ll
test/CodeGen/X86/avx512-insert-extract.ll
test/CodeGen/X86/avx512-mask-op.ll
test/CodeGen/X86/fma-fneg-combine.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/pr27591.ll
test/CodeGen/X86/pr28173.ll
test/CodeGen/X86/pr32241.ll
test/CodeGen/X86/pr32256.ll
test/CodeGen/X86/xmulo.ll