This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use correct LMUL!=1 types for __attribute__((riscv_rvv_vector_bits(N)))
ClosedPublic

Authored by wangpc on Aug 1 2023, 1:29 AM.

Details

Summary

We used to convert them to M1 types in arguments and return
value, which causes failures in CodeGen since it is not legal
to insert subvectors with LMUL>1 to M1 vectors.

Fixes 64266

Diff Detail

Event Timeline

wangpc created this revision.Aug 1 2023, 1:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2023, 1:29 AM
wangpc requested review of this revision.Aug 1 2023, 1:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2023, 1:29 AM
This revision is now accepted and ready to land.Aug 1 2023, 9:38 AM