[PATCH] D150415: [RISCV] Add a pass to merge moving parameter registers instructions for Zcmp
Xinlong Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 18:59:16 PDT 2023
VincentWu created this revision.
VincentWu added reviewers: kito-cheng, MaskRay, craig.topper, jrtc27, HsiangKai, asb, Jim.
Herald added subscribers: jobnoorman, luke, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
VincentWu requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150415
Files:
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCV.h
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVMoveOptimizer.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/O0-pipeline.ll
llvm/test/CodeGen/RISCV/O3-pipeline.ll
llvm/test/CodeGen/RISCV/cm_mvas_mvsa.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150415.521517.patch
Type: text/x-patch
Size: 17662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230512/9715eaa5/attachment.bin>
More information about the llvm-commits
mailing list