[PATCH] D77523: Add CanonicalizeFreezeInLoops pass
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 13:35:45 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp:229
+ AU.addRequired<DominatorTreeWrapperPass>();
+ AU.addPreserved<DominatorTreeWrapperPass>();
+}
----------------
aqjune wrote:
> efriedma wrote:
> > getLoopAnalysisUsage?
> Seems like using getLoopAnalysisUsage affects the code generation of LSR even if the pass is doing nothing, causing tests such as CodeGen/X86/lsr-loop-exit-cond.ll fail.
What, specifically, in getLoopAnalysisUsage is causing that?
If you're intentionally not using getLoopAnalysisUsage, please carefully document what you're doing here and in LSR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77523/new/
https://reviews.llvm.org/D77523
More information about the llvm-commits
mailing list