[PATCH] D110973: [DA] Handle mismatching loop levels by considering them non-linear
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 08:46:35 PDT 2022
Meinersbur added inline comments.
================
Comment at: llvm/lib/Analysis/DependenceAnalysis.cpp:918-919
+ // messes up our level numbering system.
+ if ((AddRec->getLoop() != LoopNest) && !AddRec->getLoop()->contains(LoopNest))
+ return false;
+
----------------
Consider using `ScalarEvolution::computeLoopDisposition()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110973/new/
https://reviews.llvm.org/D110973
More information about the llvm-commits
mailing list