[PATCH] D94355: [SimplifyCFG] Add relative switch lookup tables
    Gulfem Savrun Yeniceri via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 14 18:28:09 PST 2021
    
    
  
gulfem updated this revision to Diff 316824.
gulfem added a comment.
1. Add dso_local check
2. Remove -relative-switch-lookup-table flag, and enable it by default
3. Use shift instead of mul
4. Remove /ARM test and merge it with /X86 test
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94355/new/
https://reviews.llvm.org/D94355
Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch_to_relative_lookup_table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94355.316824.patch
Type: text/x-patch
Size: 24672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210115/03d3b4cc/attachment-0001.bin>
    
    
More information about the llvm-commits
mailing list