[all-commits] [llvm/llvm-project] 134ef0: [OpenCL] Fix inconsistency between opencl and c11 ...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Dec 27 08:50:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 134ef0fb4b92718477a1dc9da0118f9b2dd77237
      https://github.com/llvm/llvm-project/commit/134ef0fb4b92718477a1dc9da0118f9b2dd77237
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/SemaOpenCL/atomic-ops.cl

  Log Message:
  -----------
  [OpenCL] Fix inconsistency between opencl and c11 atomic fetch max/min

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.

Differential Revision: https://reviews.llvm.org/D71725




More information about the All-commits mailing list