This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Selection support for vector DUP[X]lane instructions
ClosedPublic

Authored by aemerson on Jul 29 2020, 9:18 AM.

Details

Summary

In future, we'd like to use the perfect-shuffle mechanism to deal with these shuffle permutations. For now, this improves performance by avoidind the super-expensive const-pool load + tbl instruction.

Diff Detail

Event Timeline

aemerson created this revision.Jul 29 2020, 9:18 AM
aemerson requested review of this revision.Jul 29 2020, 9:18 AM
aemerson added inline comments.
llvm/test/CodeGen/AArch64/GlobalISel/select-shuffle-vector.mir
157

I modified this test so it could continue to select the tbl instruction.

This revision is now accepted and ready to land.Jul 29 2020, 9:39 AM
This revision was landed with ongoing or failed builds.Jul 29 2020, 11:42 AM
This revision was automatically updated to reflect the committed changes.