paperchalice wrote:

In new pass manager it depends on `SomeAnalysis::Result::invalidate`. See 
https://llvm.org/docs/NewPassManager.html#implementing-analysis-invalidation
An analysis can always check related results by using 
[`PreservedAnalysisChecker`](https://llvm.org/doxygen/classllvm_1_1PreservedAnalyses_1_1PreservedAnalysisChecker.html)
 in `invalidate`.

https://github.com/llvm/llvm-project/pull/123045
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to