]> granicus.if.org Git - clang/commit
[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3
authorEli Friedman <efriedma@quicinc.com>
Thu, 17 Oct 2019 21:57:28 +0000 (21:57 +0000)
committerEli Friedman <efriedma@quicinc.com>
Thu, 17 Oct 2019 21:57:28 +0000 (21:57 +0000)
commitdbc62eda56d461249db99ce82c28e2891401ffd2
treeaddc8d05f6ec910b86476d57b067c8dd41c66463
parent1230879049c3983795d0c6591dff7c66099b83d9
[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3

It's completely impossible to check that I've actually found all the
issues, due to the use of macros in arm_neon.h, but hopefully this time
it'll take more than a few hours for someone to find another issue.

I have no idea why, but apparently there's a rule that some, but not
all, builtins which should take an fp16 vector actually take an int8
vector as an argument.  Fix this, and add test coverage.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375179 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
utils/TableGen/NeonEmitter.cpp