This adds the macrofusion plumbing and support fusing LUI+ADDI(W).
This is similar to D73643, but handles a different case. Other cases
can be added in the future.
Paths
| Differential D128393
[RISCV] Add macrofusion infrastructure and one example usage. ClosedPublic Authored by craig.topper on Jun 22 2022, 3:41 PM.
Details Summary This adds the macrofusion plumbing and support fusing LUI+ADDI(W). This is similar to D73643, but handles a different case. Other cases
Diff Detail
Unit TestsFailed Event TimelineComment Actions LGTM w/one required change.
This revision is now accepted and ready to land.Jun 22 2022, 6:17 PM
Comment Actions LGTM, thanks Craig!
This revision was landed with ongoing or failed builds.Jun 23 2022, 8:40 AM Closed by commit rG4045b62d4cc9: [RISCV] Add macrofusion infrastructure and one example usage. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 439191 llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCV.td
llvm/lib/Target/RISCV/RISCVMacroFusion.h
llvm/lib/Target/RISCV/RISCVMacroFusion.cpp
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/lib/Target/RISCV/RISCVSubtarget.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll
|
clang-format not found in user’s local PATH; not linting file.