[NFC][LoopUnrollAndJam] Use BasicBlock::replacePhiUsesWith instead of
authorWhitney Tsang <whitneyt@ca.ibm.com>
Tue, 11 Aug 2020 15:33:10 +0000 (15:33 +0000)
committerWhitney Tsang <whitneyt@ca.ibm.com>
Tue, 11 Aug 2020 15:35:14 +0000 (15:35 +0000)
commitaa994d9867e38ad12a5d43edcfb8d53a26b73020
tree62ae357ff44e5d6f017a8dcf940aa8945144a78d
parentfa2b836ea393dc4d24d2fced0ea78b7527f77de9
[NFC][LoopUnrollAndJam] Use BasicBlock::replacePhiUsesWith instead of
static function updatePHIBlocks.

Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D85673
llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp