Craig Topper
4162a9bca4
[RISCV] Cleanup pass initialization.
...
Remove redundant initializations from pass constructors that were
already being initialized by LLVMInitializeRISCVTarget().
2023-12-07 18:21:38 -08:00
Craig Topper
44d4f975e4
[RISCV] Replace RISCV -> RISC-V in comments. NFC
...
I did this once previously, but more uses have crept in.
2023-10-21 10:52:24 -07:00
Alex Bradbury
71299921d5
[RISCV][NFC] Adjust RISCVMoveMerge.cpp header to match standard style
...
* 80 columns
* Fix name of file (RISCVMoveMerger.cpp vs RISCVMoveMerge.cpp)
* `//===--` prefix rather than center-aligned text.
2023-06-27 13:35:41 +01:00
WuXinlong
c9e08fa606
[RISCV] Add a pass to merge moving parameter registers instructions for Zcmp
...
This patch adds a pass to generate `cm.mvsa01` & `cm.mva01s`.
RISCVMoveOptimizer.cpp which combines two mv inst into one cm.mva01s or cm.mva01s.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D150415
2023-06-21 15:41:51 +08:00