This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX512] Remove constant pool shuffle decoding from SelectionDAG
ClosedPublic

Authored by RKSimon on Nov 4 2018, 3:37 AM.

Details

Summary

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 instrinsic 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, on vpermi2 it's not that useful....

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Nov 4 2018, 3:37 AM
RKSimon retitled this revision from [X86][AVX512] Remove constant pool shuffle deciding from SelectionDAG to [X86][AVX512] Remove constant pool shuffle decoding from SelectionDAG.Nov 5 2018, 3:13 AM
This revision is now accepted and ready to land.Nov 13 2018, 10:50 PM
This revision was automatically updated to reflect the committed changes.