Remove unnecessary getAnalysis call [NFC]
llvm-svn: 259500
This commit is contained in:
parent
9181785a0c
commit
c36d39b7a8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue