[PATCH] D94355: [SimplifyCFG] Add relative switch lookup tables
Gulfem Savrun Yeniceri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 18:02:19 PST 2021
gulfem updated this revision to Diff 324144.
gulfem marked an inline comment as not done.
gulfem added a comment.
Herald added a subscriber: mgorny.
Implement it as a separate pass and apply it to user-defined lookup tables as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94355/new/
https://reviews.llvm.org/D94355
Files:
clang/test/CodeGen/switch-to-lookup-table.c
llvm/docs/Passes.rst
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Scalar.h
llvm/include/llvm/Transforms/Utils/RelLookupTableGenerator.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/Utils/CMakeLists.txt
llvm/lib/Transforms/Utils/RelLookupTableGenerator.cpp
llvm/lib/Transforms/Utils/Utils.cpp
llvm/test/Other/pass-pipelines.ll
llvm/test/Transforms/SimplifyCFG/X86/relative_lookup_table.ll
llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94355.324144.patch
Type: text/x-patch
Size: 30363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210217/155baa4e/attachment.bin>
More information about the llvm-commits
mailing list