[PATCH] D85818: [UnifyFunctionExitNodes] Fix Modified status for unreachable blocks
David Stenberg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 01:47:36 PDT 2020
dstenb created this revision.
dstenb added a reviewer: serge-sans-paille.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
dstenb requested review of this revision.
If a function had at most one return block, the pass would return false
regardless if an unified unreachable block was created.
This was caught using the check introduced by D80916 <https://reviews.llvm.org/D80916>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85818
Files:
llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85818.285006.patch
Type: text/x-patch
Size: 3505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/488700ce/attachment.bin>
More information about the llvm-commits
mailing list