aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:47:59 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:47:59 +0000
commit711d5b68e07a24c07ff2f514b32fe526c065791f (patch)
tree72a941d2f41a6a9538e328cea8188e4698bd523a /test/CodeGen/SystemZ
parentdfd0dffa361de43e4cb57421d814630398e5bf62 (diff)
downloadexternal_llvm-711d5b68e07a24c07ff2f514b32fe526c065791f.zip
external_llvm-711d5b68e07a24c07ff2f514b32fe526c065791f.tar.gz
external_llvm-711d5b68e07a24c07ff2f514b32fe526c065791f.tar.bz2
Add address computation stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ')
-rw-r--r--test/CodeGen/SystemZ/05-LoadAddr.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/05-LoadAddr.ll b/test/CodeGen/SystemZ/05-LoadAddr.ll
new file mode 100644
index 0000000..90f01c1
--- /dev/null
+++ b/test/CodeGen/SystemZ/05-LoadAddr.ll
@@ -0,0 +1,12 @@
+
+
+ .text
+ .align 4
+ .globl foo
+ .type foo,@function
+foo:
+.BB1_0: # entry
+ sllg %r1, %r3, 3
+ lay %r2, 8(%r1,%r2)
+ br %r14
+ .size foo, .-foo