[PATCH] D100985: [OpenCL] Remove pragma requirement for functions from Arm dot extension

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 21 11:52:29 PDT 2021


Anastasia created this revision.
Anastasia added reviewers: svenvh, mantognini.
Herald added subscribers: ebevhan, kristof.beyls, yaxunl.
Anastasia requested review of this revision.

This removed the pointless need for extension pragma since it doesn't disable anything properly and it doesn't need to enable anything that is not possible to disable.

The change doesn't break existing kernels since it allows to compile more cases i.e. without pragma statements but the pragma continues to be accepted.


https://reviews.llvm.org/D100985

Files:
  clang/lib/Headers/opencl-c.h
  clang/test/CodeGenOpenCL/arm-integer-dot-product.cl
  clang/test/SemaOpenCL/arm-integer-dot-product.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100985.339336.patch
Type: text/x-patch
Size: 8745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210421/d8b0970f/attachment-0001.bin>


More information about the cfe-commits mailing list