[Internalize] Don't claim to preserve CallGraph

Follow up to c41c336ee0
This commit is contained in:
Arthur Eubanks 2023-03-20 09:25:47 -07:00
parent c41c336ee0
commit 313365add2

View File

@ -275,7 +275,5 @@ PreservedAnalyses InternalizePass::run(Module &M, ModuleAnalysisManager &AM) {
if (!internalizeModule(M))
return PreservedAnalyses::all();
PreservedAnalyses PA;
PA.preserve<CallGraphAnalysis>();
return PA;
return PreservedAnalyses::none();
}