[PATCH] D91335: [DivergenceAnalysis] Use addRequiredTransitive
Piotr Sobczak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 04:47:54 PST 2020
piotr updated this revision to Diff 305102.
piotr added a comment.
Rebased to retrigger the buildbot checks.
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.305102.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201113/24681282/attachment.bin>
More information about the llvm-commits
mailing list