summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ret_arg2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ret_arg2.ll')
-rw-r--r--test/CodeGen/ARM/ret_arg2.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_arg2.ll b/test/CodeGen/ARM/ret_arg2.ll
new file mode 100644
index 000000000000..a74870f85870
--- /dev/null
+++ b/test/CodeGen/ARM/ret_arg2.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm
+
+define i32 @test(i32 %a1, i32 %a2) {
+ ret i32 %a2
+}
+