[PATCH] D91335: [DivergenceAnalysis] Use addRequiredTransitive
Piotr Sobczak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 05:40:44 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG47dec5aa603b: [DivergenceAnalysis] Use addRequiredTransitive (authored by piotr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91335/new/
https://reviews.llvm.org/D91335
Files:
llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
Index: llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
===================================================================
--- llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
+++ llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
@@ -299,9 +299,9 @@
}
void LegacyDivergenceAnalysis::getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired<DominatorTreeWrapperPass>();
- AU.addRequired<PostDominatorTreeWrapperPass>();
- AU.addRequired<LoopInfoWrapperPass>();
+ AU.addRequiredTransitive<DominatorTreeWrapperPass>();
+ AU.addRequiredTransitive<PostDominatorTreeWrapperPass>();
+ AU.addRequiredTransitive<LoopInfoWrapperPass>();
AU.setPreservesAll();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91335.305111.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201113/aac00335/attachment.bin>
More information about the llvm-commits
mailing list