forked from OSchip/llvm-project
IdempotentOperationChecker: don't repeatedly recompute block reachability.
llvm-svn: 125548
This commit is contained in:
parent
8d53ac81ec
commit
4ea9004fe8
|
@ -564,6 +564,7 @@ IdempotentOperationChecker::pathWasCompletelyAnalyzed(const CFG *cfg,
|
|||
const CFGStmtMap *CBM,
|
||||
const CoreEngine &CE) {
|
||||
|
||||
if (!CRA.get())
|
||||
CRA.reset(new CFGReachabilityAnalysis(*cfg));
|
||||
|
||||
// Test for reachability from any aborted blocks to this block
|
||||
|
|
Loading…
Reference in New Issue