This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Break ReadVRGatherVV into ReadVRGatherVV_data and ReadVRGatherVV_index to separate the reads for VRGatherVV
ClosedPublic

Authored by nitinjohnraj on Mar 6 2023, 11:10 AM.

Diff Detail

Event Timeline

nitinjohnraj created this revision.Mar 6 2023, 11:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 11:10 AM
nitinjohnraj requested review of this revision.Mar 6 2023, 11:10 AM
craig.topper retitled this revision from [RISCV][NFC] Broke ReadVRGatherVV into ReadVRGatherVV_data and ReadVRGatherVV_index to separate the reads for VRGatherVV to [RISCV][NFC] Break ReadVRGatherVV into ReadVRGatherVV_data and ReadVRGatherVV_index to separate the reads for VRGatherVV.Mar 7 2023, 8:58 PM
craig.topper added inline comments.Mar 7 2023, 9:02 PM
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
947–948

These instructions are so different that we should fully split the Reads between the 3 instructions.

We need ReadVRGatherVX_data_UpperBound and ReadVRGatherVI_data_UpperBound.

And ReadVRGatherVX_UpperBound needs to renamed to ReadVRGatherVX_index_UpperBound.

craig.topper requested changes to this revision.Mar 7 2023, 9:02 PM
This revision now requires changes to proceed.Mar 7 2023, 9:02 PM

ReadVRGatherVX -> ReadVRGather_(data|index), ReadVRGatherVI -> ReadVRGatherVI_data

nitinjohnraj marked an inline comment as done.Mar 14 2023, 12:13 PM
This revision is now accepted and ready to land.Mar 14 2023, 1:02 PM