[PATCH] D155940: [SimplifyCFG] Transform for merging the combination of phis in switch

Hongyu Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 03:53:08 PDT 2023


XChy updated this revision to Diff 545418.
XChy added a comment.

[Clang-format]
It seems perform correctly and well in most cases.


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

https://reviews.llvm.org/D155940

Files:
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/CodeGen/ARM/jump-table-islands.ll
  llvm/test/Transforms/JumpThreading/codesize-loop.ll
  llvm/test/Transforms/SimplifyCFG/branch-fold.ll
  llvm/test/Transforms/SimplifyCFG/merge-phis-in-switch.ll
  llvm/test/Transforms/SimplifyCFG/multiple-phis.ll
  llvm/test/Transforms/SimplifyCFG/switch-simplify-crash2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155940.545418.patch
Type: text/x-patch
Size: 30701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230730/4ac4a6ac/attachment.bin>


More information about the llvm-commits mailing list