[PATCH] D127727: [RISCV] Turn on SeparateConstOffsetFromGEPPass for RISC-V target and added optional modification strategy in it
Elena Lepilkina via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 02:04:40 PDT 2022
eklepilkina created this revision.
Herald added subscribers: sunshaoce, VincentWu, luke957, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
eklepilkina requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
[RISCV][SeparateConstOffsetFromGEPPass] Turn on SeparateConstOffsetFromGEPPass for RISC-V target.
Added optional modification strategy in this pass.
This modification strategy tries to understand which GEP instrucions is profitable to modify for register pressure decreasing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127727
Files:
llvm/include/llvm/Transforms/Scalar.h
llvm/include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg
llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/split-gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127727.436709.patch
Type: text/x-patch
Size: 43688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220614/bcfda474/attachment.bin>
More information about the llvm-commits
mailing list