This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Lower CONCAT_VECTORS to INSERT_SUBVECTOR nodes
ClosedPublic

Authored by frasercrmck on Mar 1 2021, 8:10 AM.

Details

Summary

The default expansion of CONCAT_VECTORS goes through the stack. This
patch avoids that penalty by custom-lowering CONCAT_VECTORS to a series
of INSERT_SUBVECTOR nodes. Futher optimizations are possible, but this
is a good start.

Diff Detail

Event Timeline

frasercrmck created this revision.Mar 1 2021, 8:10 AM
frasercrmck requested review of this revision.Mar 1 2021, 8:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2021, 8:10 AM
This revision is now accepted and ready to land.Mar 1 2021, 10:02 AM
This revision was landed with ongoing or failed builds.Mar 2 2021, 3:20 AM
This revision was automatically updated to reflect the committed changes.