[polly] [Polly] Data flow reduction detection to cover more cases (PR #84901)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 08:22:16 PDT 2024
https://github.com/Meinersbur requested changes to this pull request.
Thanks for the patch. I really appreciate the good code comments.
Could you add a test that checks two independent reductions in the same loop, e.g.:
```
for (int i = 0; i < n; ++i) {
*sum += A[i];
*prod += B[i];
}
```
`ScopBuilder::buildEqivClassBlockStmts` should create two ScopStmts for the same BasicBlock here.
https://github.com/llvm/llvm-project/pull/84901
More information about the llvm-commits
mailing list