This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Move some methods out of RISCVInstrInfo and into RISCV namespace.
ClosedPublic

Authored by craig.topper on Jun 11 2022, 8:04 PM.

Details

Summary

These methods don't access any state from RISCVInstrInfo. Make them
free functions in the RISCV namespace.

Diff Detail

Event Timeline

craig.topper created this revision.Jun 11 2022, 8:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2022, 8:04 PM
craig.topper requested review of this revision.Jun 11 2022, 8:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2022, 8:04 PM
This revision is now accepted and ready to land.Jun 12 2022, 9:04 AM
This revision was landed with ongoing or failed builds.Jun 12 2022, 10:47 AM
This revision was automatically updated to reflect the committed changes.
hubert.reinterpretcast added inline comments.
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
1415

This patch removed the only use of this variable.

Landed rG775a22e32a71b1592bcc254c1cfcb037ac944aa6.

craig.topper added inline comments.Jun 12 2022, 7:23 PM
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
1415

Thanks!