[ARM] Neon Polynomial vadd Intrinsic fix
authorRyan Santhirarajan <rsanthir@quicinc.com>
Wed, 28 Apr 2021 18:59:40 +0000 (11:59 -0700)
committerRyan Santhirarajan <rsanthir@quicinc.com>
Wed, 28 Apr 2021 18:59:40 +0000 (11:59 -0700)
commit0395f9e70b8f2dc55d3ef0bb7195c3542deffc5a
tree40f1f52ef5d87bdaef11d681dd2fcdf72c0c4338
parent41849a91956755e15591240816d1d0c5ec402895
[ARM] Neon Polynomial vadd Intrinsic fix

The Neon vadd intrinsics were added to the ARMSIMD intrinsic map,
however due to being defined under an AArch64 guard in arm_neon.td,
were not previously useable on ARM. This change rectifies that.

It is important to note that poly128 is not valid on ARM, thus it was
extracted out of the original arm_neon.td definition and separated
for the sake of AArch64.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D100772
clang/include/clang/Basic/arm_neon.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/arm-poly-add.c [new file with mode: 0644]