[PATCH] D135808: [LoopInterchange] Correcting the profitability checking for vectorization
Congzhe Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 21:03:50 PST 2022
congzhe added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopInterchange.cpp:1166
+ // analyze the loopnest (e.g., due to delinearization issues).
+ if (CostMap.find(InnerLoop) == CostMap.end() || CostMap.find(OuterLoop) != CostMap.end() ||
+ (CC && CC->getLoopCost(*InnerLoop) == CC->getLoopCost(*OuterLoop))) {
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135808/new/
https://reviews.llvm.org/D135808
More information about the llvm-commits
mailing list