diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-19 18:40:17 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-19 18:40:17 +0000 |
commit | 8ca36815eec998bbc21d2749fe6029812d60725a (patch) | |
tree | ca921c6c732caf3fde1cdb8666245a5cc51d339e /polly/lib/Support/ScopHelper.cpp | |
parent | 1b8d83796dd1edb7f8c30543620ac83690aa2558 (diff) | |
download | bcm5719-llvm-8ca36815eec998bbc21d2749fe6029812d60725a.tar.gz bcm5719-llvm-8ca36815eec998bbc21d2749fe6029812d60725a.zip |
Update for RegionInfo changes.
Mostly related to missing includes and renaming of
the pass to RegionInfoPass.
llvm-svn: 213457
Diffstat (limited to 'polly/lib/Support/ScopHelper.cpp')
-rw-r--r-- | polly/lib/Support/ScopHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Support/ScopHelper.cpp b/polly/lib/Support/ScopHelper.cpp index 3e3a5355d25..15adf2d8381 100644 --- a/polly/lib/Support/ScopHelper.cpp +++ b/polly/lib/Support/ScopHelper.cpp @@ -121,6 +121,6 @@ void polly::splitEntryBlockForAlloca(BasicBlock *EntryBlock, Pass *P) { // SplitBlock updates DT, DF and LI. BasicBlock *NewEntry = SplitBlock(EntryBlock, I, P); - if (RegionInfo *RI = P->getAnalysisIfAvailable<RegionInfo>()) - RI->splitBlock(NewEntry, EntryBlock); + if (RegionInfoPass *RIP = P->getAnalysisIfAvailable<RegionInfoPass>()) + RIP->getRegionInfo().splitBlock(NewEntry, EntryBlock); } |