[all-commits] [llvm/llvm-project] f97b84: [OpenMP] Fix non-determinism in clang copyin codegen
Giorgis Georgakoudis via All-commits
all-commits at lists.llvm.org
Wed May 5 19:24:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f97b843d8819f824dcc1b6afa746ce9a7a386db3
https://github.com/llvm/llvm-project/commit/f97b843d8819f824dcc1b6afa746ce9a7a386db3
Author: Giorgis Georgakoudis <georgakoudis1 at llnl.gov>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
Log Message:
-----------
[OpenMP] Fix non-determinism in clang copyin codegen
Codegen for OpeMP copyin has non-deterministic IR output due to the unspecified evaluation order in a codegen conditional branch, which makes automatic test generation unreliable. This patch refactors codegen code to avoid this non-determinism.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D101952
More information about the All-commits
mailing list