summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ret_sret_vector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ret_sret_vector.ll')
-rw-r--r--test/CodeGen/ARM/ret_sret_vector.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_sret_vector.ll b/test/CodeGen/ARM/ret_sret_vector.ll
new file mode 100644
index 0000000..9bb3519
--- /dev/null
+++ b/test/CodeGen/ARM/ret_sret_vector.ll
@@ -0,0 +1,12 @@
+; RUN: llc < %s | FileCheck %s
+
+target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
+target triple = "thumbv7-apple-ios3.0.0"
+
+define <4 x double> @PR14337(<4 x double> %a, <4 x double> %b) {
+ %foo = fadd <4 x double> %a, %b
+ ret <4 x double> %foo
+; CHECK: PR14337:
+; CHECK: vst1.64
+; CHECK: vst1.64
+}
OpenPOWER on IntegriCloud