[PATCH] D98240: [VectorCombine] Simplify to scalar store if only one element updated
Qiu Chaofan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 15 00:50:31 PDT 2021
qiucf added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VectorCombine.cpp:884
auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
- VectorCombine Combiner(F, TTI, DT);
+ auto &AA = getAnalysis<AAResultsWrapperPass>().getAAResults();
+ VectorCombine Combiner(F, TTI, DT, AA);
----------------
fhahn wrote:
> I think there are some oddities with respect to `GlobalsAA` and it should also be preserved, e.g. see D82342 (same for the new PM)
Do you mean dropping this and use result from GlobalsAA? I see GlobalsAA is already preserved.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98240/new/
https://reviews.llvm.org/D98240
More information about the llvm-commits
mailing list