From: Tim Northover Date: Thu, 24 Apr 2014 14:06:31 +0000 (+0000) Subject: AArch64: update tests to new way of printing NEON lists. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a935ca4ff60e280055897496a593e104d8b7059;p=clang AArch64: update tests to new way of printing NEON lists. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207117 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/aarch64-neon-intrinsics.c b/test/CodeGen/aarch64-neon-intrinsics.c index 63095ab83b..e7fa048881 100644 --- a/test/CodeGen/aarch64-neon-intrinsics.c +++ b/test/CodeGen/aarch64-neon-intrinsics.c @@ -5824,157 +5824,157 @@ float64_t test_vrsqrted_f64(float64_t a) { uint8x16_t test_vld1q_u8(uint8_t const *a) { // CHECK-LABEL: test_vld1q_u8 return vld1q_u8(a); - // CHECK: {{ld1 {v[0-9]+.16b}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.16b }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } uint16x8_t test_vld1q_u16(uint16_t const *a) { // CHECK-LABEL: test_vld1q_u16 return vld1q_u16(a); - // CHECK: {{ld1 {v[0-9]+.8h}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8h }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } uint32x4_t test_vld1q_u32(uint32_t const *a) { // CHECK-LABEL: test_vld1q_u32 return vld1q_u32(a); - // CHECK: {{ld1 {v[0-9]+.4s}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4s }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } uint64x2_t test_vld1q_u64(uint64_t const *a) { // CHECK-LABEL: test_vld1q_u64 return vld1q_u64(a); - // CHECK: {{ld1 {v[0-9]+.2d}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2d }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } int8x16_t test_vld1q_s8(int8_t const *a) { // CHECK-LABEL: test_vld1q_s8 return vld1q_s8(a); - // CHECK: {{ld1 {v[0-9]+.16b}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.16b }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } int16x8_t test_vld1q_s16(int16_t const *a) { // CHECK-LABEL: test_vld1q_s16 return vld1q_s16(a); - // CHECK: {{ld1 {v[0-9]+.8h}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8h }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } int32x4_t test_vld1q_s32(int32_t const *a) { // CHECK-LABEL: test_vld1q_s32 return vld1q_s32(a); - // CHECK: {{ld1 {v[0-9]+.4s}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4s }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } int64x2_t test_vld1q_s64(int64_t const *a) { // CHECK-LABEL: test_vld1q_s64 return vld1q_s64(a); - // CHECK: {{ld1 {v[0-9]+.2d}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2d }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } float16x8_t test_vld1q_f16(float16_t const *a) { // CHECK-LABEL: test_vld1q_f16 return vld1q_f16(a); - // CHECK: {{ld1 {v[0-9]+.8h}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8h }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } float32x4_t test_vld1q_f32(float32_t const *a) { // CHECK-LABEL: test_vld1q_f32 return vld1q_f32(a); - // CHECK: {{ld1 {v[0-9]+.4s}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4s }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } float64x2_t test_vld1q_f64(float64_t const *a) { // CHECK-LABEL: test_vld1q_f64 return vld1q_f64(a); - // CHECK: {{ld1 {v[0-9]+.2d}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2d }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } poly8x16_t test_vld1q_p8(poly8_t const *a) { // CHECK-LABEL: test_vld1q_p8 return vld1q_p8(a); - // CHECK: {{ld1 {v[0-9]+.16b}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.16b }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } poly16x8_t test_vld1q_p16(poly16_t const *a) { // CHECK-LABEL: test_vld1q_p16 return vld1q_p16(a); - // CHECK: {{ld1 {v[0-9]+.8h}|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8h }|ldr q[0-9]+}}, [{{x[0-9]+|sp}}] } uint8x8_t test_vld1_u8(uint8_t const *a) { // CHECK-LABEL: test_vld1_u8 return vld1_u8(a); - // CHECK: {{ld1 {v[0-9]+.8b}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8b }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } uint16x4_t test_vld1_u16(uint16_t const *a) { // CHECK-LABEL: test_vld1_u16 return vld1_u16(a); - // CHECK: {{ld1 {v[0-9]+.4h}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4h }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } uint32x2_t test_vld1_u32(uint32_t const *a) { // CHECK-LABEL: test_vld1_u32 return vld1_u32(a); - // CHECK: {{ld1 {v[0-9]+.2s}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2s }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } uint64x1_t test_vld1_u64(uint64_t const *a) { // CHECK-LABEL: test_vld1_u64 return vld1_u64(a); - // CHECK: {{ld1 {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int8x8_t test_vld1_s8(int8_t const *a) { // CHECK-LABEL: test_vld1_s8 return vld1_s8(a); - // CHECK: {{ld1 {v[0-9]+.8b}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8b }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int16x4_t test_vld1_s16(int16_t const *a) { // CHECK-LABEL: test_vld1_s16 return vld1_s16(a); - // CHECK: {{ld1 {v[0-9]+.4h}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4h }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int32x2_t test_vld1_s32(int32_t const *a) { // CHECK-LABEL: test_vld1_s32 return vld1_s32(a); - // CHECK: {{ld1 {v[0-9]+.2s}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2s }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int64x1_t test_vld1_s64(int64_t const *a) { // CHECK-LABEL: test_vld1_s64 return vld1_s64(a); - // CHECK: {{ld1 {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } float16x4_t test_vld1_f16(float16_t const *a) { // CHECK-LABEL: test_vld1_f16 return vld1_f16(a); - // CHECK: {{ld1 {v[0-9]+.4h}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4h }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } float32x2_t test_vld1_f32(float32_t const *a) { // CHECK-LABEL: test_vld1_f32 return vld1_f32(a); - // CHECK: {{ld1 {v[0-9]+.2s}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.2s }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } float64x1_t test_vld1_f64(float64_t const *a) { // CHECK-LABEL: test_vld1_f64 return vld1_f64(a); - // CHECK: {{ld1 {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } poly8x8_t test_vld1_p8(poly8_t const *a) { // CHECK-LABEL: test_vld1_p8 return vld1_p8(a); - // CHECK: {{ld1 {v[0-9]+.8b}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.8b }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } poly16x4_t test_vld1_p16(poly16_t const *a) { // CHECK-LABEL: test_vld1_p16 return vld1_p16(a); - // CHECK: {{ld1 {v[0-9]+.4h}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1 { v[0-9]+.4h }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } uint8x16x2_t test_vld2q_u8(uint8_t const *a) { @@ -6448,157 +6448,157 @@ poly16x4x4_t test_vld4_p16(poly16_t const *a) { void test_vst1q_u8(uint8_t *a, uint8x16_t b) { // CHECK-LABEL: test_vst1q_u8 vst1q_u8(a, b); - // CHECK: {{st1 {v[0-9]+.16b}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.16b }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_u16(uint16_t *a, uint16x8_t b) { // CHECK-LABEL: test_vst1q_u16 vst1q_u16(a, b); - // CHECK: {{st1 {v[0-9]+.8h}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8h }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_u32(uint32_t *a, uint32x4_t b) { // CHECK-LABEL: test_vst1q_u32 vst1q_u32(a, b); - // CHECK: {{st1 {v[0-9]+.4s}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4s }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_u64(uint64_t *a, uint64x2_t b) { // CHECK-LABEL: test_vst1q_u64 vst1q_u64(a, b); - // CHECK: {{st1 {v[0-9]+.2d}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2d }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_s8(int8_t *a, int8x16_t b) { // CHECK-LABEL: test_vst1q_s8 vst1q_s8(a, b); - // CHECK: {{st1 {v[0-9]+.16b}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.16b }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_s16(int16_t *a, int16x8_t b) { // CHECK-LABEL: test_vst1q_s16 vst1q_s16(a, b); - // CHECK: {{st1 {v[0-9]+.8h}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8h }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_s32(int32_t *a, int32x4_t b) { // CHECK-LABEL: test_vst1q_s32 vst1q_s32(a, b); - // CHECK: {{st1 {v[0-9]+.4s}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4s }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_s64(int64_t *a, int64x2_t b) { // CHECK-LABEL: test_vst1q_s64 vst1q_s64(a, b); - // CHECK: {{st1 {v[0-9]+.2d}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2d }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_f16(float16_t *a, float16x8_t b) { // CHECK-LABEL: test_vst1q_f16 vst1q_f16(a, b); - // CHECK: {{st1 {v[0-9]+.8h}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8h }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_f32(float32_t *a, float32x4_t b) { // CHECK-LABEL: test_vst1q_f32 vst1q_f32(a, b); - // CHECK: {{st1 {v[0-9]+.4s}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4s }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_f64(float64_t *a, float64x2_t b) { // CHECK-LABEL: test_vst1q_f64 vst1q_f64(a, b); - // CHECK: {{st1 {v[0-9]+.2d}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2d }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_p8(poly8_t *a, poly8x16_t b) { // CHECK-LABEL: test_vst1q_p8 vst1q_p8(a, b); - // CHECK: {{st1 {v[0-9]+.16b}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.16b }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_p16(poly16_t *a, poly16x8_t b) { // CHECK-LABEL: test_vst1q_p16 vst1q_p16(a, b); - // CHECK: {{st1 {v[0-9]+.8h}|str q[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8h }|str q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_u8(uint8_t *a, uint8x8_t b) { // CHECK-LABEL: test_vst1_u8 vst1_u8(a, b); - // CHECK: {{st1 {v[0-9]+.8b}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8b }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_u16(uint16_t *a, uint16x4_t b) { // CHECK-LABEL: test_vst1_u16 vst1_u16(a, b); - // CHECK: {{st1 {v[0-9]+.4h}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4h }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_u32(uint32_t *a, uint32x2_t b) { // CHECK-LABEL: test_vst1_u32 vst1_u32(a, b); - // CHECK: {{st1 {v[0-9]+.2s}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2s }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_u64(uint64_t *a, uint64x1_t b) { // CHECK-LABEL: test_vst1_u64 vst1_u64(a, b); - // CHECK: {{st1 {v[0-9]+.1d}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.1d }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_s8(int8_t *a, int8x8_t b) { // CHECK-LABEL: test_vst1_s8 vst1_s8(a, b); - // CHECK: {{st1 {v[0-9]+.8b}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8b }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_s16(int16_t *a, int16x4_t b) { // CHECK-LABEL: test_vst1_s16 vst1_s16(a, b); - // CHECK: {{st1 {v[0-9]+.4h}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4h }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_s32(int32_t *a, int32x2_t b) { // CHECK-LABEL: test_vst1_s32 vst1_s32(a, b); - // CHECK: {{st1 {v[0-9]+.2s}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2s }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_s64(int64_t *a, int64x1_t b) { // CHECK-LABEL: test_vst1_s64 vst1_s64(a, b); - // CHECK: {{st1 {v[0-9]+.1d}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.1d }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_f16(float16_t *a, float16x4_t b) { // CHECK-LABEL: test_vst1_f16 vst1_f16(a, b); - // CHECK: {{st1 {v[0-9]+.4h}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4h }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_f32(float32_t *a, float32x2_t b) { // CHECK-LABEL: test_vst1_f32 vst1_f32(a, b); - // CHECK: {{st1 {v[0-9]+.2s}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.2s }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_f64(float64_t *a, float64x1_t b) { // CHECK-LABEL: test_vst1_f64 vst1_f64(a, b); - // CHECK: {{st1 {v[0-9]+.1d}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.1d }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_p8(poly8_t *a, poly8x8_t b) { // CHECK-LABEL: test_vst1_p8 vst1_p8(a, b); - // CHECK: {{st1 {v[0-9]+.8b}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.8b }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_p16(poly16_t *a, poly16x4_t b) { // CHECK-LABEL: test_vst1_p16 vst1_p16(a, b); - // CHECK: {{st1 {v[0-9]+.4h}|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.4h }|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst2q_u8(uint8_t *a, uint8x16x2_t b) { diff --git a/test/CodeGen/aarch64-neon-ldst-one.c b/test/CodeGen/aarch64-neon-ldst-one.c index c6e0f85e87..1f26f67dd0 100644 --- a/test/CodeGen/aarch64-neon-ldst-one.c +++ b/test/CodeGen/aarch64-neon-ldst-one.c @@ -112,7 +112,7 @@ uint32x2_t test_vld1_dup_u32(uint32_t *a) { uint64x1_t test_vld1_dup_u64(uint64_t *a) { // CHECK-LABEL: test_vld1_dup_u64 return vld1_dup_u64(a); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int8x8_t test_vld1_dup_s8(int8_t *a) { @@ -136,7 +136,7 @@ int32x2_t test_vld1_dup_s32(int32_t *a) { int64x1_t test_vld1_dup_s64(int64_t *a) { // CHECK-LABEL: test_vld1_dup_s64 return vld1_dup_s64(a); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } float16x4_t test_vld1_dup_f16(float16_t *a) { @@ -154,7 +154,7 @@ float32x2_t test_vld1_dup_f32(float32_t *a) { float64x1_t test_vld1_dup_f64(float64_t *a) { // CHECK-LABEL: test_vld1_dup_f64 return vld1_dup_f64(a); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } poly8x8_t test_vld1_dup_p8(poly8_t *a) { @@ -172,7 +172,7 @@ poly16x4_t test_vld1_dup_p16(poly16_t *a) { poly64x1_t test_vld1_dup_p64(poly64_t *a) { // CHECK-LABEL: test_vld1_dup_p64 return vld1_dup_p64(a); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } uint8x16x2_t test_vld2q_dup_u8(uint8_t *a) { @@ -812,7 +812,7 @@ uint32x2_t test_vld1_lane_u32(uint32_t *a, uint32x2_t b) { uint64x1_t test_vld1_lane_u64(uint64_t *a, uint64x1_t b) { // CHECK-LABEL: test_vld1_lane_u64 return vld1_lane_u64(a, b, 0); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int8x8_t test_vld1_lane_s8(int8_t *a, int8x8_t b) { @@ -836,7 +836,7 @@ int32x2_t test_vld1_lane_s32(int32_t *a, int32x2_t b) { int64x1_t test_vld1_lane_s64(int64_t *a, int64x1_t b) { // CHECK-LABEL: test_vld1_lane_s64 return vld1_lane_s64(a, b, 0); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } float16x4_t test_vld1_lane_f16(float16_t *a, float16x4_t b) { @@ -854,7 +854,7 @@ float32x2_t test_vld1_lane_f32(float32_t *a, float32x2_t b) { float64x1_t test_vld1_lane_f64(float64_t *a, float64x1_t b) { // CHECK-LABEL: test_vld1_lane_f64 return vld1_lane_f64(a, b, 0); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } poly8x8_t test_vld1_lane_p8(poly8_t *a, poly8x8_t b) { @@ -872,7 +872,7 @@ poly16x4_t test_vld1_lane_p16(poly16_t *a, poly16x4_t b) { poly64x1_t test_vld1_lane_p64(poly64_t *a, poly64x1_t b) { // CHECK-LABEL: test_vld1_lane_p64 return vld1_lane_p64(a, b, 0); - // CHECK: {{ld1r {v[0-9]+.1d}|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{ld1r { v[0-9]+.1d }|ldr d[0-9]+}}, [{{x[0-9]+|sp}}] } int8x16x2_t test_vld2q_lane_s8(int8_t const * ptr, int8x16x2_t src) { @@ -1526,7 +1526,7 @@ void test_vst1_lane_f32(float32_t *a, float32x2_t b) { void test_vst1_lane_f64(float64_t *a, float64x1_t b) { // CHECK-LABEL: test_vst1_lane_f64 vst1_lane_f64(a, b, 0); - // CHECK: {{st1 {v[0-9]+.d}\[0]|str d[0-9]+}}, [{{x[0-9]+|sp}}] + // CHECK: {{st1 { v[0-9]+.d }\[0]|str d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_lane_p8(poly8_t *a, poly8x8_t b) { diff --git a/test/CodeGen/aarch64-poly64.c b/test/CodeGen/aarch64-poly64.c index 3f544c221e..82740f8095 100644 --- a/test/CodeGen/aarch64-poly64.c +++ b/test/CodeGen/aarch64-poly64.c @@ -135,28 +135,28 @@ poly64x2_t test_vcombine_p64(poly64x1_t low, poly64x1_t high) { poly64x1_t test_vld1_p64(poly64_t const * ptr) { // CHECK-LABEL: test_vld1_p64 return vld1_p64(ptr); - // CHECK-AARCH64: ld1 {{{v[0-9]+}}.1d}, [{{x[0-9]+|sp}}] + // CHECK-AARCH64: ld1 { {{v[0-9]+}}.1d }, [{{x[0-9]+|sp}}] // CHECK-ARM64: ldr {{d[0-9]+}}, [{{x[0-9]+|sp}}] } poly64x2_t test_vld1q_p64(poly64_t const * ptr) { // CHECK-LABEL: test_vld1q_p64 return vld1q_p64(ptr); - // CHECK-AARCH64: ld1 {{{v[0-9]+}}.2d}, [{{x[0-9]+|sp}}] + // CHECK-AARCH64: ld1 { {{v[0-9]+}}.2d }, [{{x[0-9]+|sp}}] // CHECK-ARM64: ldr {{q[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1_p64(poly64_t * ptr, poly64x1_t val) { // CHECK-LABEL: test_vst1_p64 return vst1_p64(ptr, val); - // CHECK-AARCH64: st1 {{{v[0-9]+}}.1d}, [{{x[0-9]+|sp}}] + // CHECK-AARCH64: st1 { {{v[0-9]+}}.1d }, [{{x[0-9]+|sp}}] // CHECK-ARM64: str {{d[0-9]+}}, [{{x[0-9]+|sp}}] } void test_vst1q_p64(poly64_t * ptr, poly64x2_t val) { // CHECK-LABEL: test_vst1q_p64 return vst1q_p64(ptr, val); - // CHECK-AARCH64: st1 {{{v[0-9]+}}.2d}, [{{x[0-9]+|sp}}] + // CHECK-AARCH64: st1 { {{v[0-9]+}}.2d }, [{{x[0-9]+|sp}}] // CHECK-ARM64: str {{q[0-9]+}}, [{{x[0-9]+|sp}}] } diff --git a/test/CodeGenCXX/aarch64-neon.cpp b/test/CodeGenCXX/aarch64-neon.cpp index 5d2a00bebe..5f7c63a614 100644 --- a/test/CodeGenCXX/aarch64-neon.cpp +++ b/test/CodeGenCXX/aarch64-neon.cpp @@ -9,5 +9,5 @@ poly64x1_t test_vld1_p64(poly64_t const * ptr) { // CHECK: test_vld1_p64 return vld1_p64(ptr); - // CHECK: ld1 {{{v[0-9]+}}.1d}, [{{x[0-9]+|sp}}] + // CHECK: ld1 { {{v[0-9]+}}.1d }, [{{x[0-9]+|sp}}] }