mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
Fix build due to renaming in LoopInfo.
This commit is contained in:
parent
9e917a5915
commit
6003dbfc22
@ -1390,7 +1390,7 @@ TEST_F(LoopPassManagerTest, LoopDeletion) {
|
||||
// have no PHI nodes and there is always a single i-dom.
|
||||
auto EraseLoop = [](Loop &L, BasicBlock &IDomBB,
|
||||
LoopStandardAnalysisResults &AR, LPMUpdater &Updater) {
|
||||
assert(L.empty() && "Can only delete leaf loops with this routine!");
|
||||
assert(L.isInnermost() && "Can only delete leaf loops with this routine!");
|
||||
SmallVector<BasicBlock *, 4> LoopBBs(L.block_begin(), L.block_end());
|
||||
Updater.markLoopAsDeleted(L, L.getName());
|
||||
IDomBB.getTerminator()->replaceUsesOfWith(L.getHeader(),
|
||||
|
Loading…
Reference in New Issue
Block a user