[PATCH] D152550: [Constant Hoisting]: Hoist Constant GEP Expressions.

hassnaaHamdi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 09:20:35 PDT 2023


hassnaa-arm created this revision.
Herald added subscribers: luke, frasercrmck, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, dmgreen, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, nemanjai, qcolombet.
Herald added a reviewer: ributzka.
Herald added a project: All.
hassnaa-arm requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, MaskRay.
Herald added a project: LLVM.

- By default enable consthoist-gep flag.
- We saw a 6% improvement on SPEC17 povary and improvements on some internal workloads.
- There is a little information on why this is disabled by default. Are there specific targets/workloads for which this leads to regressions?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152550

Files:
  llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
  llvm/test/CodeGen/ARM/cortex-a57-misched-vstm-wrback.ll
  llvm/test/CodeGen/PowerPC/pr52894-32bit.ll
  llvm/test/CodeGen/PowerPC/pr52894.ll
  llvm/test/CodeGen/RISCV/global-merge.ll
  llvm/test/CodeGen/RISCV/hoist-global-addr-base.ll
  llvm/test/CodeGen/RISCV/unroll-loop-cse.ll
  llvm/test/CodeGen/Thumb/consthoist-imm8-costs-1.ll
  llvm/test/CodeGen/Thumb2/mve-blockplacement.ll
  llvm/test/CodeGen/Thumb2/mve-memtp-loop.ll
  llvm/test/CodeGen/X86/2008-03-31-SpillerFoldingBug.ll
  llvm/test/CodeGen/X86/2009-10-19-atomic-cmp-eflags.ll
  llvm/test/CodeGen/X86/AMX/amx-across-func.ll
  llvm/test/CodeGen/X86/AMX/amx-ldtilecfg-insert.ll
  llvm/test/CodeGen/X86/AMX/amx-spill-merge.ll
  llvm/test/CodeGen/X86/hoist-spill-lpad.ll
  llvm/test/CodeGen/XCore/codemodel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152550.529988.patch
Type: text/x-patch
Size: 29448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/7659300d/attachment.bin>


More information about the llvm-commits mailing list