[PATCH] D153774: [ARM] Generate out-of-line jump tables for XO without 32-bit branch
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 07:59:02 PDT 2023
john.brawn created this revision.
john.brawn added reviewers: stuij, keith.walker.arm, simonwallis2, t.p.northover.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
john.brawn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When we only have a 16-bit pc-relative branch instruction we generate a table of address for a jump table. Currently this is placed inline, but this won't work with execute-only memory. In this case generate the jump table out-of-line.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153774
Files:
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/execute-only.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153774.534552.patch
Type: text/x-patch
Size: 5602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230626/cbcd68f4/attachment.bin>
More information about the llvm-commits
mailing list