[PATCH] D81192: [OPENMP]Fix PR45854: prevent code movement out of the critical region.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 14:57:13 PDT 2020
ABataev added a comment.
In D81192#2074732 <https://reviews.llvm.org/D81192#2074732>, @jdoerfert wrote:
> I doubt this is the right fix. I'll take a closer look.
I believe, the issue is caused by the new attributes for kmpc_critical/kmpc_end_critical functions. They are marked as `InaccessibleMemOrArgMemOnly` functions. Previously they did not have this attribute and optimizer did not move the code across these function calls.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81192/new/
https://reviews.llvm.org/D81192
More information about the llvm-commits
mailing list