[AArch64] Make ACLE intrinsics always available part1
authorDaniel Kiss <daniel.kiss@arm.com>
Fri, 14 Oct 2022 15:21:17 +0000 (17:21 +0200)
committerDaniel Kiss <daniel.kiss@arm.com>
Fri, 14 Oct 2022 15:23:11 +0000 (17:23 +0200)
commit30b67c677c6baf0d6ef6c3051cf270133c43e4d2
treecee68f19e5a175235b7251ed73740ba5f1504e56
parent22e4203df813a8051b40adb3e2872e30fdbe1bbe
[AArch64] Make ACLE intrinsics always available part1

A given arch feature might enabled by a pragma or a function attribute so in this cases would be nice to use intrinsics.
Today GCC offers the intrinsics without the march flag[1].
PR[2] for ACLE to clarify the intention and remove the need for -march flag for a given intrinsics.

This is going to be more useful when D127812 lands.

[1] https://godbolt.org/z/bxcMhav3z
[2] https://github.com/ARM-software/acle/pull/214

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D133359
clang/include/clang/Basic/BuiltinsAArch64.def
clang/lib/Headers/arm_acle.h
clang/test/CodeGen/arm_acle.c
clang/test/CodeGen/builtins-arm64.c