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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, two nits, one below.
Add a sentence to the commit message describing the problem.
clang/lib/CodeGen/CGStmtOpenMP.cpp | ||
---|---|---|
1013 | Rename A to MasterAddrInt and B to PrivateAddrInt, or similar. |
Comment Actions
Thanks! I'll test our Arm build and revert the requires once I've confirmed it passes.
Rename A to MasterAddrInt and B to PrivateAddrInt, or similar.