summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-neon-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/arm-neon-misc.c')
-rw-r--r--clang/test/CodeGen/arm-neon-misc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/arm-neon-misc.c b/clang/test/CodeGen/arm-neon-misc.c
index e7ba580ed2a..ef4b0704cdf 100644
--- a/clang/test/CodeGen/arm-neon-misc.c
+++ b/clang/test/CodeGen/arm-neon-misc.c
@@ -32,3 +32,11 @@ void t2(uint64_t *src1, uint8_t *src2, uint64x2_t *dst) {
*dst = q;
// CHECK: store <2 x i64>
}
+
+// Neon types have 64-bit alignment
+int32x4_t gl_b;
+void t3(int32x4_t *src) {
+// CHECK: @t3
+ gl_b = *src;
+// CHECK: store <4 x i32> {{%.*}}, <4 x i32>* @gl_b, align 8
+}
OpenPOWER on IntegriCloud