summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2018-08-21 23:32:03 +0000
committerAlina Sbirlea <asbirlea@google.com>2018-08-21 23:32:03 +0000
commitab6f84f7633f269114aaf02adfb38ec28f69167c (patch)
tree16d504d90b01a6965398956a3ad97a4117e3bd8b /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent887ec751732efa1cc4508ce524f7e72b4e597e45 (diff)
downloadbcm5719-llvm-ab6f84f7633f269114aaf02adfb38ec28f69167c.tar.gz
bcm5719-llvm-ab6f84f7633f269114aaf02adfb38ec28f69167c.zip
Update MemorySSA in BasicBlockUtils.
Summary: Extend BasicBlocksUtils to update MemorySSA. Subscribers: sanjoy, arsenm, nhaehnle, jlebar, Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D45300 llvm-svn: 340365
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp
index 3560a49c709..c2670868299 100644
--- a/llvm/lib/Transforms/Utils/LoopUtils.cpp
+++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp
@@ -1174,7 +1174,7 @@ bool llvm::formDedicatedExitBlocks(Loop *L, DominatorTree *DT, LoopInfo *LI,
return false;
auto *NewExitBB = SplitBlockPredecessors(
- BB, InLoopPredecessors, ".loopexit", DT, LI, PreserveLCSSA);
+ BB, InLoopPredecessors, ".loopexit", DT, LI, nullptr, PreserveLCSSA);
if (!NewExitBB)
LLVM_DEBUG(
OpenPOWER on IntegriCloud