[flang-commits] [flang] [flang][OpenMP] Fix standalone SIMD directive post-loop variable value (PR #196731)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Thu May 14 05:33:42 PDT 2026
luporl wrote:
> The expected output of the example is `100 200 13`. PR #194623 does not change the output at all, while PR #183800 changes the behavior of to print incorrect values `10 200 12`. I will comment on the latter as part of a review with more details.
Without PR #194623 the changes of PR #183800 can't be observed at runtime, but only at the IR level. I've changed #183800 to depend on #194623, to make it explicit.
In short, PR #194623 removes additional privatizations that prevented the updating of LINEAR variables and PR #183800 fixes the update value, that was off by one loop step.
https://github.com/llvm/llvm-project/pull/196731
More information about the flang-commits
mailing list