[AArch64] Fix scalar vuqadd intrinsics operands
authorDiogo N. Sampaio <diogo.sampaio@arm.com>
Mon, 8 Jul 2019 08:47:47 +0000 (08:47 +0000)
committerDiogo N. Sampaio <diogo.sampaio@arm.com>
Mon, 8 Jul 2019 08:47:47 +0000 (08:47 +0000)
commit4ec445b813a1d479e3d9f9226c265fad66fd8f8c
treebbd6a0ec8778b557c0a0b29e7b2625418c716b42
parent7d63be09b6a6ee8b940a15bf823bf2f90d34c18e
[AArch64] Fix scalar vuqadd intrinsics operands

Summary:
Change the vuqadd scalar instrinsics to have the second argument as unsigned values, not signed,
accordingly to https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics

So now the compiler correctly warns that a undefined negative float conversion is being done.

Reviewers: LukeCheeseman, john.brawn

Reviewed By: john.brawn

Subscribers: john.brawn, javed.absar, kristof.beyls, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64242

llvm-svn: 365300
clang/include/clang/Basic/arm_neon.td
clang/test/CodeGen/aarch64-neon-intrinsics.c
clang/test/CodeGen/aarch64-neon-vuqadd-float-conversion-warning.c [new file with mode: 0644]