[PATCH] D33648: [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element

Egor Churaev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 29 06:50:12 PDT 2017


echuraev created this revision.
Herald added a subscriber: yaxunl.

This is the fix for patch https://reviews.llvm.org/D33353
@uweigand, could you please verify that everything will be good on SystemZ?
I added triple spir-unknown-unknown.
Thank you in advance!


https://reviews.llvm.org/D33648

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExpr.cpp
  test/SemaOpenCL/arithmetic-conversions.cl
  test/SemaOpenCL/cond.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33648.100611.patch
Type: text/x-patch
Size: 6149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170529/1069e265/attachment.bin>


More information about the cfe-commits mailing list