// RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
// Test ARM64 SIMD duplicate lane and n intrinsics
// REQUIRES: aarch64-registered-target || arm-registered-target
void
void
// uncomment out the following code once scalar_to_vector in the backend
// works (for 64 bit?). Change the "CHECK@" to "CHECK<colon>"
/*
float64x1_t test_vdup_n_f64(float64_t a1) {
// CHECK-LABEL@ test_vdup_n_f64
return vdup_n_f64(a1);
// match that an element is inserted into part 0
// CHECK@ insertelement {{.*, i32 0 *$}}
}
*/
float16x8_t