[PATCH] D72214: [GlobalOpt] Get DT only if it is available.

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 09:18:12 PST 2020


ekatz added a comment.

The old PassManager has the function `getAnalysisIfAvailable` that should be used in case you only need to update an analysis (equivalent to `getCachedResult` of the new PassManager). You should probably switch to use this function, instead of the `SmallPtrSet<> DTRequested`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72214/new/

https://reviews.llvm.org/D72214





More information about the llvm-commits mailing list