[PATCH] D155711: [SimplifyCFG] Hoist common instructions on Switch.

DianQK via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 22 04:00:16 PDT 2023


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

Now we can work with the unreachable instruction.
I will try to merge a generic hoist common instructions and add some test cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155711

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
  llvm/test/Transforms/SimplifyCFG/hoist-common-code-on-switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155711.543163.patch
Type: text/x-patch
Size: 6450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230722/eb0cd45e/attachment.bin>


More information about the llvm-commits mailing list