[PATCH] D68670: [Utils] Cleanup similar cases to MergeBlockIntoPredecessor.
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 16:18:19 PDT 2019
asbirlea created this revision.
asbirlea added reviewers: chandlerc, sanjoy.google, george.burgess.iv.
Herald added a project: LLVM.
There are two cases where a block is merged into its predecessor and the
MergeBlockIntoPredecessor API is not used. Update the API so it can be
reused in the other cases, in order to avoid code duplication.
Cleanup motivated by D68659 <https://reviews.llvm.org/D68659>.
Repository:
rL LLVM
https://reviews.llvm.org/D68670
Files:
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/Transforms/Scalar/LoopUnswitch.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
lib/Transforms/Utils/LoopRotationUtils.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68670.223957.patch
Type: text/x-patch
Size: 8414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191008/02a937cb/attachment.bin>
More information about the llvm-commits
mailing list