[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/argaddr.ll
Rafael Espindola
rafael.espindola at gmail.com
Thu Aug 17 10:09:56 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
argaddr.ll added (r1.1)
---
Log message:
add a "load effective address"
---
Diffs of the changes: (+18 -0)
argaddr.ll | 18 ++++++++++++++++++
1 files changed, 18 insertions(+)
Index: llvm/test/Regression/CodeGen/ARM/argaddr.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/argaddr.ll:1.1
*** /dev/null Thu Aug 17 12:09:50 2006
--- llvm/test/Regression/CodeGen/ARM/argaddr.ll Thu Aug 17 12:09:40 2006
***************
*** 0 ****
--- 1,18 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ void %f(int %a, int %b, int %c, int %d, int %e) {
+ entry:
+ %a_addr = alloca int ; <int*> [#uses=2]
+ %b_addr = alloca int ; <int*> [#uses=2]
+ %c_addr = alloca int ; <int*> [#uses=2]
+ %d_addr = alloca int ; <int*> [#uses=2]
+ %e_addr = alloca int ; <int*> [#uses=2]
+ store int %a, int* %a_addr
+ store int %b, int* %b_addr
+ store int %c, int* %c_addr
+ store int %d, int* %d_addr
+ store int %e, int* %e_addr
+ call void %g( int* %a_addr, int* %b_addr, int* %c_addr, int* %d_addr, int* %e_addr )
+ ret void
+ }
+
+ declare void %g(int*, int*, int*, int*, int*)
More information about the llvm-commits
mailing list