[PATCH] D73643: [WIP] Macro Fusion for RISC-V
kamlesh kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 09:58:29 PST 2020
kamleshbhalui created this revision.
kamleshbhalui added reviewers: asb, lenary, evandro.
kamleshbhalui added a project: LLVM.
Herald added subscribers: llvm-commits, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, Jim, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, mgorny.
kamleshbhalui retitled this revision from "Macro Fusion for RISC-V" to "[WIP] Macro Fusion for RISC-V".
Inspired from these two docs
https://arxiv.org/pdf/1607.02318.pdf
https://riscv.org/wp-content/uploads/2016/07/Tue1130celio-fusion-finalV2.pdf
This patch contains only five pairs that can be fused.
There are few more pairs to add as per the above docs, I am adding it and modifying the tests as well.
At the same time thought of knowing the reviewer's insight and suggestions on this patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73643
Files:
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCVMacroFusion.cpp
llvm/lib/Target/RISCV/RISCVMacroFusion.h
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/add-before-shl.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73643.241202.patch
Type: text/x-patch
Size: 6138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200129/345e476f/attachment.bin>
More information about the llvm-commits
mailing list