diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-02-02 14:14:20 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-02-02 14:14:20 +0000 |
commit | c36d39b7a84d1be3f8d7534a5169b9be239c0b3f (patch) | |
tree | 2c37ba4bde503117a56f036d73c218062039d1dd | |
parent | 9181785a0c68d0021fba6d407baaf1d8ac707538 (diff) | |
download | bcm5719-llvm-c36d39b7a84d1be3f8d7534a5169b9be239c0b3f.tar.gz bcm5719-llvm-c36d39b7a84d1be3f8d7534a5169b9be239c0b3f.zip |
Remove unnecessary getAnalysis call [NFC]
llvm-svn: 259500
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index a8fe16659be..b5e40eba4e4 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -3896,8 +3896,7 @@ void ScopInfo::buildAccessFunctions(Region &R, BasicBlock &BB, bool IsExitBlock) { // We do not build access functions for error blocks, as they may contain // instructions we can not model. - DominatorTree &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree(); - if (isErrorBlock(BB, R, *LI, DT) && !IsExitBlock) + if (isErrorBlock(BB, R, *LI, *DT) && !IsExitBlock) return; Loop *L = LI->getLoopFor(&BB); |