This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Define variables for vector VT list of different LMUL
ClosedPublic

Authored by pcwang-thead on Dec 8 2022, 10:24 PM.

Details

Summary

This reduces several lines of code and these variables can be used
by followed patches.

Diff Detail

Event Timeline

pcwang-thead requested review of this revision.Dec 8 2022, 10:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 10:24 PM
craig.topper added inline comments.Dec 8 2022, 10:39 PM
llvm/lib/Target/RISCV/RISCVRegisterInfo.td
538

Wheren't we also passing vbool types here?

llvm/lib/Target/RISCV/RISCVRegisterInfo.td
538

I think it does.

Reuse defined VMaskVTs in VR/VRNoV0.

This revision is now accepted and ready to land.Dec 9 2022, 10:29 AM
This revision was landed with ongoing or failed builds.Dec 11 2022, 6:47 PM
This revision was automatically updated to reflect the committed changes.