summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/Large/branch-range-10.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/Large/branch-range-10.py')
-rw-r--r--test/CodeGen/SystemZ/Large/branch-range-10.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/Large/branch-range-10.py b/test/CodeGen/SystemZ/Large/branch-range-10.py
index c928081f5544..c6f8945e2940 100644
--- a/test/CodeGen/SystemZ/Large/branch-range-10.py
+++ b/test/CodeGen/SystemZ/Large/branch-range-10.py
@@ -74,6 +74,8 @@
branch_blocks = 8
main_size = 0xffcc
+print '@global = global i32 0'
+
print 'define void @f1(i8 *%base, i8 *%stop, i64 %limit) {'
print 'entry:'
print ' br label %before0'
@@ -107,5 +109,6 @@ for i in xrange(branch_blocks):
print ''
print 'after%d:' % i
+print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'