[AArch64] Disable __ARM_FEATURE_SVE without ACLE.
authorSander de Smalen <sander.desmalen@arm.com>
Tue, 30 Jul 2019 10:14:39 +0000 (10:14 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Tue, 30 Jul 2019 10:14:39 +0000 (10:14 +0000)
commit405c999d9705eb08d14a08d4bff36be8ffad2bbf
tree6f411f225892882aa3053ca28496cd3dfbf1d345
parent5c43ffd6140c2d328fec0507abcb564a2f57578a
[AArch64] Disable __ARM_FEATURE_SVE without ACLE.

The Arm C Language Extensions for SVE document specifies that
__ARM_FEATURE_SVE should be set when the compiler supports SVE and
implements all the extensions described in the document.

This is currently not yet the case, so the feature should be disabled
until the compiler can provide all the extensions as described.

Reviewers: c-rhodes, rengolin, rovka, ktkachov

Reviewed By: rengolin

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

llvm-svn: 367301
clang/lib/Basic/Targets/AArch64.cpp
clang/test/Preprocessor/aarch64-target-features.c