[PATCH] D159050: [PowerPC] set min jump table entries to 64

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 19:08:20 PDT 2023


shchenz created this revision.
shchenz added reviewers: nemanjai, ZarkoCA, RolandF, PowerPC.
shchenz added a project: LLVM.
Herald added subscribers: kbarton, hiraditya, qcolombet.
Herald added a project: All.
shchenz requested review of this revision.
Herald added a subscriber: llvm-commits.

This benefits some benchmarks on PPC targets.

And also add a new PPC specific option `-ppc-min-jump-table-entries` to keep the ability to change the setting from the command line. (After calling `setMinimumJumpTableEntries()` on PPC, target independent option `-min-jump-table-entries` does not work.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159050

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/absol-jump-table-enabled.ll
  llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
  llvm/test/CodeGen/PowerPC/jump-table.ll
  llvm/test/CodeGen/PowerPC/jump-tables-collapse-rotate.ll
  llvm/test/CodeGen/PowerPC/mcm-5.ll
  llvm/test/CodeGen/PowerPC/p10-spill-crgt.ll
  llvm/test/CodeGen/PowerPC/pcrel-jump-table.ll
  llvm/test/CodeGen/PowerPC/ppc-TOC-stats.ll
  llvm/test/CodeGen/PowerPC/pr22711.ll
  llvm/test/CodeGen/PowerPC/pr33547.ll
  llvm/test/CodeGen/PowerPC/unreachable-mbb-jtreference-elimination.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159050.554133.patch
Type: text/x-patch
Size: 18411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/519f8907/attachment.bin>


More information about the llvm-commits mailing list