[X86][AVX512] Remove constant pool shuffle decoding from SelectionDAG
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 14 Nov 2018 11:26:35 +0000 (11:26 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 14 Nov 2018 11:26:35 +0000 (11:26 +0000)
commit7501780ec68196355b5d39869acd68016c60b427
tree862a8576123e50ca4297116e546cf0366c2a5464
parent18e98645014feb187c11c87b5bd291641e31afc5
[X86][AVX512] Remove constant pool shuffle decoding from SelectionDAG

This patch removes the last use of the constant pool shuffle decode helper and consistently uses the 'getTargetShuffleMaskIndices' versions instead. The constant pool versions are now purely used for assembly comments.

The avx512vbmi intrinsic upgrades had to be altered as they were being decoded as broadcasts, similar to what I fixed in rL346032. I don't think the change is critical - although its annoying that we lose the {k}{z} instruction test coverage as they are tricky to generate....

Differential Revision: https://reviews.llvm.org/D54083

llvm-svn: 346850
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512vbmi-intrinsics-upgrade.ll
llvm/test/CodeGen/X86/avx512vbmivl-intrinsics-upgrade.ll