This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][CodeGen] Account for LMUL for Vector Permutation Instructions
ClosedPublic

Authored by michaelmaitland on Nov 4 2022, 8:19 AM.

Details

Summary

It is likley that subtargets act differently for vector fixed-point arithmetic instructions
based on the LMUL. This patch creates seperate SchedRead, SchedWrite, WriteRes, ReadAdvance
for each relevant LMUL.

Diff Detail

Event Timeline

michaelmaitland created this revision.Nov 4 2022, 8:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 8:19 AM
michaelmaitland requested review of this revision.Nov 4 2022, 8:19 AM
craig.topper added inline comments.Dec 5 2022, 3:40 PM
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
882

Indent

Rebase and formatting

michaelmaitland marked an inline comment as done.Dec 6 2022, 7:23 AM
craig.topper accepted this revision.Dec 6 2022, 3:05 PM

LGTM with those formatting changes

llvm/lib/Target/RISCV/RISCVInstrInfoV.td
1594

Indent

llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
3212

Wrap this line

This revision is now accepted and ready to land.Dec 6 2022, 3:05 PM
michaelmaitland marked 2 inline comments as done.Dec 6 2022, 4:54 PM
This revision was landed with ongoing or failed builds.Dec 6 2022, 4:55 PM
This revision was automatically updated to reflect the committed changes.