diff options
| author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-15 17:24:40 +0000 |
|---|---|---|
| committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-15 17:24:40 +0000 |
| commit | a344ae8f78155720d441fc1a4dc6fea27b46eac6 (patch) | |
| tree | 4c06d155fa2d41c1be5cf0eceaf402386cb3f068 /llvm/test | |
| parent | 01ae1daafe72d69dbe0acefad4bf8fa1e8edcde8 (diff) | |
| download | bcm5719-llvm-a344ae8f78155720d441fc1a4dc6fea27b46eac6.tar.gz bcm5719-llvm-a344ae8f78155720d441fc1a4dc6fea27b46eac6.zip | |
[SystemZ] Fix large tests broken by conditional returns.
These were broken by D17339.
Differential Revision: http://reviews.llvm.org/D19158
llvm-svn: 266454
Diffstat (limited to 'llvm/test')
9 files changed, 27 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/branch-range-01.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-01.py index 365d7e42081..344d26121af 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-01.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-03.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-03.py index 745d733211f..75c9ea4a051 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-03.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-04.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-04.py index a0c9c442645..d475c9565e4 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-04.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-05.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-05.py index 69a8112162a..0a56eff85e1 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-05.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-06.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-06.py index b08bc119c45..5b054345b08 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-06.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-09.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-09.py index d4693358f50..6b568a6e640 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-09.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py index c928081f554..c6f8945e294 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-11.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-11.py index 85166bc1565..10466df8baa 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-11.py +++ b/llvm/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/llvm/test/CodeGen/SystemZ/Large/branch-range-12.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-12.py index e1d9e2977d4..809483a9fcd 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-12.py +++ b/llvm/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 '}' |

