[PATCH] D109565: Teach SimplifyCFG to fold switches into lookup tables in more cases.

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 13:24:42 PDT 2021


resistor updated this revision to Diff 372786.
resistor added a comment.

Add a negative test for non-inbounds GEPs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109565/new/

https://reviews.llvm.org/D109565

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-bitcast.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109565.372786.patch
Type: text/x-patch
Size: 6292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/47341958/attachment.bin>


More information about the llvm-commits mailing list