A few (mostly CodeGen) parts of Clang were tightly coupled to the AArch64 backend. Now that it's gone, they will not even compile. I've also deduplicated RUN lines in many of the AArch64 tests. This might improve "make check-all" time noticably: some of those NEON tests were monsters. llvm-svn: 209578
14 lines
413 B
C++
14 lines
413 B
C++
// REQUIRES: arm64-registered-target
|
|
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \
|
|
// RUN: -ffp-contract=fast -S -O3 -o - %s | FileCheck %s
|
|
|
|
// Test whether arm_neon.h can be used in .cpp file.
|
|
|
|
#include "arm_neon.h"
|
|
|
|
poly64x1_t test_vld1_p64(poly64_t const * ptr) {
|
|
// CHECK: test_vld1_p64
|
|
return vld1_p64(ptr);
|
|
// CHECK: {{ld1 { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}]
|
|
}
|