summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/LoopExtractor.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-19 03:03:39 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-19 03:03:39 +0000
commit0eae112009967cfb4ffa441e62c89fb8c38331bd (patch)
tree85349f24ad71be8c498fc8f683d17f7fdfdcd31d /llvm/lib/Transforms/IPO/LoopExtractor.cpp
parent26500a56f5a01124dca93218c7f4ca957afa3e12 (diff)
downloadbcm5719-llvm-0eae112009967cfb4ffa441e62c89fb8c38331bd.tar.gz
bcm5719-llvm-0eae112009967cfb4ffa441e62c89fb8c38331bd.zip
[PM] Lift the analyses into the interface for
SplitLandingPadPredecessors and remove the Pass argument from its interface. Another step to the utilities being usable with both old and new pass managers. llvm-svn: 226426
Diffstat (limited to 'llvm/lib/Transforms/IPO/LoopExtractor.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/LoopExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/LoopExtractor.cpp b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
index 20414aa05b4..41334ca5b42 100644
--- a/llvm/lib/Transforms/IPO/LoopExtractor.cpp
+++ b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
@@ -242,7 +242,7 @@ void BlockExtractorPass::SplitLandingPadPreds(Function *F) {
if (!Split) continue;
SmallVector<BasicBlock*, 2> NewBBs;
- SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", nullptr, NewBBs);
+ SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", NewBBs);
}
}
OpenPOWER on IntegriCloud