[PATCH] D63256: [OpenCL] Split type and macro definitions into opencl-c-base.h

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 13:50:04 PDT 2019


yaxunl added inline comments.


================
Comment at: cfe/trunk/lib/Headers/opencl-c.h:13638
 #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
-#ifndef ATOMIC_VAR_INIT
-#define ATOMIC_VAR_INIT(x) (x)
----------------
kzhuravl wrote:
> Any reason this piece of code got completely removed?
Removing ATOMIC_VAR_INIT caused regression in our compiler.

Could you please put it back?

Thanks.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63256/new/

https://reviews.llvm.org/D63256





More information about the llvm-commits mailing list