summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/Large/branch-range-01.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-01.py
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'test/CodeGen/SystemZ/Large/branch-range-01.py')
-rw-r--r--test/CodeGen/SystemZ/Large/branch-range-01.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/Large/branch-range-01.py b/test/CodeGen/SystemZ/Large/branch-range-01.py
index 365d7e4208187..344d26121afb1 100644
--- a/test/CodeGen/SystemZ/Large/branch-range-01.py
+++ b/test/CodeGen/SystemZ/Large/branch-range-01.py
@@ -70,6 +70,8 @@
branch_blocks = 10
main_size = 0xffd8
+print '@global = global i32 0'
+
print 'define void @f1(i8 *%base, i32 *%stop, i32 %limit) {'
print 'entry:'
print ' br label %before0'
@@ -101,5 +103,6 @@ for i in xrange(branch_blocks):
print ''
print 'after%d:' % i
+print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'