[PATCH] D59069: [Utils] Extract EliminateUnreachableBlocks (NFC)
Brian Gesiak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 18:52:51 PST 2019
modocache created this revision.
modocache added reviewers: mkazantsev, wmi, davidxl, silvas, davide.
Herald added a project: LLVM.
Extract the functionality of eliminating unreachable basic blocks
within a function, previously encapsulated within the
-unreachableblockelim pass, and make it available as a function within
BlockUtils.h. No functional change intended other than making the logic
reusable.
Exposing this logic makes it easier to implement
https://reviews.llvm.org/D59068, which fixes coroutines bug
https://bugs.llvm.org/show_bug.cgi?id=40979.
Repository:
rL LLVM
https://reviews.llvm.org/D59069
Files:
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/CodeGen/UnreachableBlockElim.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59069.189639.patch
Type: text/x-patch
Size: 5311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190307/12feb6c2/attachment.bin>
More information about the llvm-commits
mailing list