[PATCH] D71225: [OpenMP][WIP] atomic update only evaluate once for expression having side effect
Chi Chun Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 14:26:38 PST 2019
cchen added a comment.
Oops, accidentally remove my own comment. I'm not sure why `iarr[foo(), foo(), 0]` violate the rule since it will be evaluated as `iarr[0]`, and the counter `foo()` modified is also in the same location for both left hand side and right hand side.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71225/new/
https://reviews.llvm.org/D71225
More information about the cfe-commits
mailing list