[PATCH] D155711: [SimplifyCFG] Hoist common instructions on Switch.
DianQK via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 13 22:25:00 PDT 2023
DianQK updated this revision to Diff 549788.
DianQK added a comment.
Fixes `backend-optimization-failure.cpp`.
We should examine all instructions during each iteration to confirm the presence of a terminating one.
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/HoistCode.ll
llvm/test/Transforms/SimplifyCFG/hoist-common-code-with-unreachable.ll
llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155711.549788.patch
Type: text/x-patch
Size: 38576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/1b0ed39f/attachment.bin>
More information about the llvm-commits
mailing list