From: Ahmed Bougacha Date: Tue, 25 Aug 2015 01:00:05 +0000 (+0000) Subject: [ARM NEON] Remove the old AArch64 vset_lane tests. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dafe7732e42a00fd6039a61619d0e43fed74b31;p=clang [ARM NEON] Remove the old AArch64 vset_lane tests. NFC. They are now properly tested, since r245901. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245915 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/arm64_vset_lane.c b/test/CodeGen/arm64_vset_lane.c deleted file mode 100644 index 0508123b84..0000000000 --- a/test/CodeGen/arm64_vset_lane.c +++ /dev/null @@ -1,33 +0,0 @@ -// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | FileCheck %s -// Test ARM64 SIMD set lane intrinsics INCOMPLETE - -#include - -float16x4_t test_vset_lane_f16(float16_t *a1, float16x4_t a2) { - // CHECK-LABEL: test_vset_lane_f16 - return vset_lane_f16(*a1, a2, 1); - // CHECK: [[A1:%[0-9]+]] = load i16, i16* %a1 - // CHECK: insertelement <4 x i16> %a2, i16 [[A1]], i32 1 -} - -float16x8_t test_vsetq_lane_f16(float16_t *a1, float16x8_t a2) { - // CHECK-LABEL: test_vsetq_lane_f16 - return vsetq_lane_f16(*a1, a2, 4); - // CHECK: [[A1:%[0-9]+]] = load i16, i16* %a1 - // CHECK: insertelement <8 x i16> %a2, i16 [[A1]], i32 4 -} - -// problem with scalar_to_vector in backend. Punt for now -#if 0 -float64x1_t test_vset_lane_f64(float64_t a1, float64x1_t a2) { - // CHECK-LABEL@ test_vset_lane_f64 - return vset_lane_f64(a1, a2, 0); - // CHECK@ @llvm.aarch64.neon.smaxv.i32.v8i8 -} -#endif - -float64x2_t test_vsetq_lane_f64(float64_t a1, float64x2_t a2) { - // CHECK-LABEL: test_vsetq_lane_f64 - return vsetq_lane_f64(a1, a2, 0); - // CHECK: insertelement <2 x double> %a2, double %a1, i32 0 -}