[Utils] Clean another duplicated util method.
authorAlina Sbirlea <asbirlea@google.com>
Tue, 4 Jun 2019 18:45:15 +0000 (18:45 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Tue, 4 Jun 2019 18:45:15 +0000 (18:45 +0000)
commitbfceed49cec1ec3f6b846974c96e49e00bd8c36f
tree421f130c871d80e6f3d09956c5c19293909d4974
parent7dcd73340ba51943b935064db038e526d4596e6e
[Utils] Clean another duplicated util method.

Summary:
Following the cleanup in D48202, method foldBlockIntoPredecessor has the
same behavior. Replace its uses with MergeBlockIntoPredecessor.
Remove foldBlockIntoPredecessor.

Reviewers: chandlerc, dmgreen

Subscribers: jlebar, javed.absar, zzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62751

llvm-svn: 362538
llvm/include/llvm/Transforms/Utils/UnrollLoop.h
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/lib/Transforms/Utils/LoopUnroll.cpp
llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
llvm/test/CodeGen/AArch64/loop-micro-op-buffer-size-t99.ll