[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 12:08:38 PST 2021


gulfem updated this revision to Diff 316483.
gulfem added a comment.

Add a new Kind enumerator called RelOffsetArrayKind for relative lookup tables


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.316483.patch
Type: text/x-patch
Size: 25689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/9e522876/attachment.bin>


More information about the llvm-commits mailing list