This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix crash in lowerVECTOR_DEINTERLEAVE when VecVT is an LMUL=8 type.
ClosedPublic

Authored by craig.topper on Jun 7 2023, 3:33 PM.

Details

Summary

If VecVT is an LMUL=8 VT, we can't concatenate the vectors as that
would create an illegal type. Instead we need to split the vectors
and emit two VECTOR_DEINTERLEAVE operations that can each be lowered.

Diff Detail

Event Timeline

craig.topper created this revision.Jun 7 2023, 3:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 3:33 PM
craig.topper requested review of this revision.Jun 7 2023, 3:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 3:33 PM

clang-format

rogfer01 accepted this revision.Jun 8 2023, 1:58 AM

LGTM. Thanks @craig.topper!

This revision is now accepted and ready to land.Jun 8 2023, 1:58 AM
luke accepted this revision.Jun 8 2023, 2:25 AM

LGTM, thanks!