diff --git a/test/CodeGen/SystemZ/Large/branch-range-01.py b/test/CodeGen/SystemZ/Large/branch-range-01.py index 365d7e42081..344d26121af 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 '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-03.py b/test/CodeGen/SystemZ/Large/branch-range-03.py index 745d733211f..75c9ea4a051 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-03.py +++ b/test/CodeGen/SystemZ/Large/branch-range-03.py @@ -70,6 +70,8 @@ branch_blocks = 8 main_size = 0xffcc +print '@global = global i32 0' + print 'define void @f1(i8 *%base, i8 *%stop, i32 %limit) {' print 'entry:' print ' br label %before0' @@ -103,5 +105,6 @@ for i in xrange(branch_blocks): print '' print 'after%d:' % i +print ' %dummy = load volatile i32, i32 *@global' print ' ret void' print '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-04.py b/test/CodeGen/SystemZ/Large/branch-range-04.py index a0c9c442645..d475c9565e4 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-04.py +++ b/test/CodeGen/SystemZ/Large/branch-range-04.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 '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-05.py b/test/CodeGen/SystemZ/Large/branch-range-05.py index 69a8112162a..0a56eff85e1 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-05.py +++ b/test/CodeGen/SystemZ/Large/branch-range-05.py @@ -74,6 +74,8 @@ branch_blocks = 8 main_size = 0xffcc +print '@global = global i32 0' + print 'define void @f1(i8 *%base, i8 *%stop) {' print 'entry:' print ' br label %before0' @@ -105,5 +107,6 @@ for i in xrange(branch_blocks): print '' print 'after%d:' % i +print ' %dummy = load volatile i32, i32 *@global' print ' ret void' print '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-06.py b/test/CodeGen/SystemZ/Large/branch-range-06.py index b08bc119c45..5b054345b08 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-06.py +++ b/test/CodeGen/SystemZ/Large/branch-range-06.py @@ -74,6 +74,8 @@ branch_blocks = 8 main_size = 0xffcc +print '@global = global i32 0' + print 'define void @f1(i8 *%base, i8 *%stop) {' print 'entry:' print ' br label %before0' @@ -105,5 +107,6 @@ for i in xrange(branch_blocks): print '' print 'after%d:' % i +print ' %dummy = load volatile i32, i32 *@global' print ' ret void' print '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-09.py b/test/CodeGen/SystemZ/Large/branch-range-09.py index d4693358f50..6b568a6e640 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-09.py +++ b/test/CodeGen/SystemZ/Large/branch-range-09.py @@ -70,6 +70,8 @@ branch_blocks = 8 main_size = 0xffcc +print '@global = global i32 0' + print 'define void @f1(i8 *%base, i8 *%stop, i32 %limit) {' print 'entry:' print ' br label %before0' @@ -103,5 +105,6 @@ for i in xrange(branch_blocks): print '' print 'after%d:' % i +print ' %dummy = load volatile i32, i32 *@global' print ' ret void' print '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-10.py b/test/CodeGen/SystemZ/Large/branch-range-10.py index c928081f554..c6f8945e294 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 '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-11.py b/test/CodeGen/SystemZ/Large/branch-range-11.py index 85166bc1565..10466df8baa 100644 --- a/test/CodeGen/SystemZ/Large/branch-range-11.py +++ b/test/CodeGen/SystemZ/Large/branch-range-11.py @@ -90,6 +90,8 @@ branch_blocks = 8 main_size = 0xffc6 +print '@global = global i32 0' + print 'define void @f1(i8 *%base, i32 *%stopa, i32 *%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 '}' diff --git a/test/CodeGen/SystemZ/Large/branch-range-12.py b/test/CodeGen/SystemZ/Large/branch-range-12.py index e1d9e2977d4..809483a9fcd 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 '}'