[PATCH] D155395: [SimplifyCFG] Remove identical successors in switch instructions in simple cases.

DianQK via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 16 03:01:28 PDT 2023


DianQK updated this revision to Diff 540772.
DianQK added a comment.

Update `simplifySwitchIdenticalSucc`.
Fix some failing test cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155395

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/switch-simplify-identical-succs.ll
  llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155395.540772.patch
Type: text/x-patch
Size: 7099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230716/996c9605/attachment.bin>


More information about the llvm-commits mailing list