summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/Large/branch-range-12.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
commit01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch)
tree4def12e759965de927d963ac65840d663ef9d1ea /test/CodeGen/SystemZ/Large/branch-range-12.py
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'test/CodeGen/SystemZ/Large/branch-range-12.py')
-rw-r--r--test/CodeGen/SystemZ/Large/branch-range-12.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/Large/branch-range-12.py b/test/CodeGen/SystemZ/Large/branch-range-12.py
index e1d9e2977d411..809483a9fcd27 100644
--- a/test/CodeGen/SystemZ/Large/branch-range-12.py
+++ b/test/CodeGen/SystemZ/Large/branch-range-12.py
@@ -90,6 +90,8 @@
branch_blocks = 8
main_size = 0xffb4
+print '@global = global i32 0'
+
print 'define void @f1(i8 *%base, i64 *%stopa, i64 *%stopb) {'
print 'entry:'
print ' br label %before0'
@@ -123,5 +125,6 @@ for i in xrange(branch_blocks):
print ''
print 'after%d:' % i
+print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'