projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use CallConvLower.h and TableGen descriptions of the calling conventions
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
arguments2.ll
diff --git a/test/CodeGen/ARM/arguments2.ll
b/test/CodeGen/ARM/arguments2.ll
new file mode 100644
(file)
index 0000000..
eb7e45b
--- /dev/null
+++ b/
test/CodeGen/ARM/arguments2.ll
@@ -0,0
+1,9
@@
+; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin
+
+define i32 @f(i32 %a, i128 %b) {
+ %tmp = call i32 @g(i128 %b)
+ ret i32 %tmp
+}
+
+declare i32 @g(i128)