There is some inconsistency between opencl and c11 atomic fetch max/min after
https://reviews.llvm.org/D46386
https://reviews.llvm.org/D55562
It is not reasonable to have such inconsistencies. This patch fixes that.
Paths
| Differential D71725
[OpenCL] Fix inconsistency between opencl and c11 atomic fetch max/min ClosedPublic Authored by yaxunl on Dec 19 2019, 1:08 PM.
Details Summary There is some inconsistency between opencl and c11 atomic fetch max/min after https://reviews.llvm.org/D46386 https://reviews.llvm.org/D55562 It is not reasonable to have such inconsistencies. This patch fixes that.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 27 2019, 8:01 AM Closed by commit rG134ef0fb4b92: [OpenCL] Fix inconsistency between opencl and c11 atomic fetch max/min (authored by yaxunl). · Explain WhyDec 27 2019, 8:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 234774 clang/lib/Sema/SemaChecking.cpp
clang/test/SemaOpenCL/atomic-ops.cl
|