This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add scheduling resources for vector segment instructions.
ClosedPublic

Authored by monkchiang on Jun 30 2022, 12:43 AM.

Details

Summary

Add scheduling resources for vector segment instructions

Diff Detail

Event Timeline

monkchiang created this revision.Jun 30 2022, 12:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2022, 12:43 AM
monkchiang requested review of this revision.Jun 30 2022, 12:43 AM
craig.topper added inline comments.Jun 30 2022, 12:41 PM
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
120

Are there too many reads here? Isn't ReadVLDSX for a stride operand that doesn't exist on unit stride?

137

Isn't ReadVLDSX supposed to be read of the stride, but this is an index load. So we need an index vector register read I think.

Address comment:

  1. Remove ReadVLDSX from VLSEGSched, VLSEGFFSched.
  2. Add index vector register read for indexed segment load/store.
This revision is now accepted and ready to land.Jul 5 2022, 7:56 AM