OSDN Git Service

[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)
commita1b68b3e9ff0da8edeab91d8b7b837e2744b7fac
tree65d169f913c3808c245e8954a7c099b56f35baa2
parent33a637762fdee7003655fe12047c8c686f7d315f
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512vbmi-intrinsics-upgrade.ll
test/CodeGen/X86/avx512vbmivl-intrinsics-upgrade.ll