[PATCH] D105601: opencl-c.h: reorder atomic operations

Dave Airlie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 7 17:11:04 PDT 2021


airlied created this revision.
airlied added a project: clang.
Herald added subscribers: ldrumm, jfb, Anastasia, yaxunl.
airlied requested review of this revision.
Herald added a subscriber: cfe-commits.

This just reorders the atomics, it doesn't change anything except their layout in the header.

This is a prep patch for adding some conditionals around these for CL3.0 but that patch is much easier to review if all the atomic operations are grouped together like this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105601

Files:
  clang/lib/Headers/opencl-c.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105601.357107.patch
Type: text/x-patch
Size: 39354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210708/f309a688/attachment-0001.bin>


More information about the cfe-commits mailing list