[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 23 23:28:47 PDT 2023


XChy updated this revision to Diff 543392.
XChy marked 7 inline comments as done.
XChy set the repository for this revision to rG LLVM Github Monorepo.
XChy added a comment.

- Fix all the nits.
- Extract the logic of `canMergePhisOfCase`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155940

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/merge-phis-in-switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155940.543392.patch
Type: text/x-patch
Size: 9830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230724/20490dc7/attachment-0001.bin>


More information about the llvm-commits mailing list