[PATCH] D27049: [OpenCL] Refactor out ReadPipe/WritePipe

Yaron Keren via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 12:35:53 PST 2016


yaron.keren accepted this revision.
yaron.keren added a comment.
This revision is now accepted and ready to land.

LGTM after fixing the inline comment



================
Comment at: lib/Serialization/ASTReader.cpp:5804
     QualType ElementType = readType(*Loc.F, Record, Idx);
-    return Context.getReadPipeType(ElementType);
+    unsigned ReadOnly = Record[1];
+    if (ReadOnly)
----------------
  return Context,getPipeType(ElementType, ReadOnly)



Repository:
  rL LLVM

https://reviews.llvm.org/D27049





More information about the cfe-commits mailing list