Skip to content

Commit cd500d2

Browse files
Invalidate all analyses besides CFGAnalyses
1 parent 825ee28 commit cd500d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Transforms/Utils/IRNormalizer.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -691,5 +691,7 @@ SetVector<int> IRNormalizer::getOutputFootprint(
691691
PreservedAnalyses IRNormalizerPass::run(Function &F,
692692
FunctionAnalysisManager &AM) const {
693693
IRNormalizer{}.runOnFunction(F);
694-
return PreservedAnalyses::all();
694+
PreservedAnalyses PA;
695+
PA.preserveSet<CFGAnalyses>();
696+
return PA;
695697
}

0 commit comments

Comments
 (0)