[PATCH] D94355: [SimplifyCFG] Add relative switch lookup tables
Gulfem Savrun Yeniceri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 17:09:04 PST 2021
gulfem updated this revision to Diff 316538.
gulfem added a comment.
Use llvm.load.relative intrinsic to compute the target address based on Leo's feedback.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94355/new/
https://reviews.llvm.org/D94355
Files:
llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/ARM/switch-to-relative-lookup-table.ll
llvm/test/Transforms/SimplifyCFG/X86/switch_to_relative_lookup_table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94355.316538.patch
Type: text/x-patch
Size: 24976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/06f84fb4/attachment.bin>
More information about the llvm-commits
mailing list