summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM64/complex-ret.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM64/complex-ret.ll')
-rw-r--r--test/CodeGen/ARM64/complex-ret.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM64/complex-ret.ll b/test/CodeGen/ARM64/complex-ret.ll
new file mode 100644
index 0000000000..93d50a5986
--- /dev/null
+++ b/test/CodeGen/ARM64/complex-ret.ll
@@ -0,0 +1,7 @@
+; RUN: llc -march=arm64 -o - %s | FileCheck %s
+
+define { i192, i192, i21, i192 } @foo(i192) {
+; CHECK-LABEL: foo:
+; CHECK: stp xzr, xzr, [x8]
+ ret { i192, i192, i21, i192 } {i192 0, i192 1, i21 2, i192 3}
+}