[OpenCL] Remove pragma requirement from Arm dot extension.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 12 May 2021 15:19:13 +0000 (16:19 +0100)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 12 May 2021 15:25:33 +0000 (16:25 +0100)
commit58d18dde5cca3417e3d52670775c95d2f6fe9d05
treebe20af3b36e92fef3ddcdbfe92bb7a3b88ca71d6
parent1336c5ae2fea48bcb54a5050a01b59333fd502aa
[OpenCL] Remove pragma requirement from Arm dot extension.

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.

Differential Revision: https://reviews.llvm.org/D100985
clang/lib/Headers/opencl-c.h
clang/test/CodeGenOpenCL/arm-integer-dot-product.cl
clang/test/SemaOpenCL/arm-integer-dot-product.cl