This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Support CONCAT_VECTORS on scalable masks
ClosedPublic

Authored by frasercrmck on Jun 8 2021, 7:06 AM.

Details

Summary

This patch is a simple fix which registers CONCAT_VECTORS as
custom-lowered for scalable mask vectors. This follows the pattern of
all other scalable-vector types, as the default expansion of
CONCAT_VECTORS cannot handle scalable types, and even if it did it'd go
through the stack and generate worse code.

Diff Detail

Event Timeline

frasercrmck created this revision.Jun 8 2021, 7:06 AM
frasercrmck requested review of this revision.Jun 8 2021, 7:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2021, 7:06 AM
This revision is now accepted and ready to land.Jun 8 2021, 9:52 AM
This revision was automatically updated to reflect the committed changes.