summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/Large/branch-range-01.py
diff options
context:
space:
mode:
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 '}'