HomePhabricator

[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2.

Description

[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2.

Just running -fsyntax-only over arm_neon.h doesn't cover some intrinsics
which are defined using macros. Add more test coverage for that.

arm-neon-header.c wasn't checking the full set of available NEON target
features; change the target architecture of the test to account for
that.

Fix the generator for arm_neon.h to generate casts in more cases where
they are necessary.

Fix VFMLAL_LOW etc. to express their signatures differently, so the
builtins have the expected type. Maybe the TableGen backend should
detect intrinsics that are defined the wrong way, and produce an error.
The rules here are sort of strange.

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

Details

Committed
efriedmaOct 10 2019, 11:45 AM
Differential Revision
D68743: [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2.
Parents
rC374418: Fix one more clang test which didn't have \5C in it
Branches
Unknown
Tags
Unknown