Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM w/comment addressed before landing.
llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll | ||
---|---|---|
4 | Please add a check line for the configuration: -force-ordered-reductions=true -hints-allow-reordering=false. This allows you to test the codegen for ordered reductions in this change and next becomes only changing which check prefixes one line uses. |
llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll | ||
---|---|---|
4 | Also, this has nothing to do with your change, but the fact that -hints-allow-reordering defaults to true is deeply and unpleasantly surprising. That is *not* the semantics I'd have expected from the loop directives. |
Rebase and add test for -force-ordered-reductions=true -hints-allow-reordering=false.
llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll | ||
---|---|---|
4 | Yes, this is news to me, and also surprise me. |
Please add a check line for the configuration: -force-ordered-reductions=true -hints-allow-reordering=false.
This allows you to test the codegen for ordered reductions in this change and next becomes only changing which check prefixes one line uses.