[PATCH] D128393: [RISCV] Add macrofusion infrastructure and one example usage.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 15:41:45 PDT 2022
craig.topper created this revision.
craig.topper added reviewers: reames, jrtc27, asb, luismarques, kito-cheng.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson, mgorny.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
This adds the macrofusion plumbing and support fusing LUI+ADDI(W).
This is similar to D73643 <https://reviews.llvm.org/D73643>, but handles a different case. Other cases
can be added in the future.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128393
Files:
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCV.td
llvm/lib/Target/RISCV/RISCVMacroFusion.cpp
llvm/lib/Target/RISCV/RISCVMacroFusion.h
llvm/lib/Target/RISCV/RISCVSubtarget.cpp
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128393.439191.patch
Type: text/x-patch
Size: 9618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/00d49639/attachment.bin>
More information about the llvm-commits
mailing list