[PATCH] D146903: (WIP)[SimplifyCFG] add nuw/nsw on SwitchToLookupTable

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 07:51:35 PDT 2023


khei4 updated this revision to Diff 520376.
khei4 added a comment.

change plan to use Unreachabiliity of DefaultDest. (not yet change on test except X86)


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

https://reviews.llvm.org/D146903

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/PhaseOrdering/X86/merge-functions.ll
  llvm/test/Transforms/PhaseOrdering/X86/simplifycfg-late.ll
  llvm/test/Transforms/SimplifyCFG/X86/CoveredLookupTable.ll
  llvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  llvm/test/Transforms/SimplifyCFG/rangereduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146903.520376.patch
Type: text/x-patch
Size: 19398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/189618ef/attachment.bin>


More information about the llvm-commits mailing list