[PATCH] D106748: [OpenCL] Add support of __opencl_c_pipes feature macro.

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 20:39:03 PDT 2021


azabaznov added a comment.

Reverted it due too suspicious failing:

  error: 'error' diagnostics expected but not seen: 
    File /home/tcwg-buildslave/worker/clang-armv7-2stage/llvm/clang/test/SemaOpenCL/invalid-pipes-cl2.0.cl Line 8: type '__global write_only pipe int ({{(void)?}})' can only be used as a function parameter in OpenCL
  error: 'error' diagnostics seen but not expected: 
    File /home/tcwg-buildslave/worker/clang-armv7-2stage/llvm/clang/test/SemaOpenCL/invalid-pipes-cl2.0.cl Line 8: type '__private write_only pipe int (void)' can only be used as a function parameter in OpenCL
  2 errors generated.

I don't think that's because of triple was unset, I think the main reason was that program scope variables were not supported, but need to have a look closely


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106748



More information about the cfe-commits mailing list