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

Konstantin Zhuravlyov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 09:30:12 PDT 2019


kzhuravl added inline comments.


================
Comment at: cfe/trunk/lib/Headers/opencl-c.h:13638-13640
-#ifndef ATOMIC_VAR_INIT
-#define ATOMIC_VAR_INIT(x) (x)
-#endif //ATOMIC_VAR_INIT
----------------
svenvh wrote:
> yaxunl wrote:
> > 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.
> Apologies, that was not intended; thanks for reporting!  Restored the macro in r364174 together with a test.
Thanks!


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63256





More information about the cfe-commits mailing list