Skip to content

Commit

Permalink
[SystemZ] Fix large tests broken by conditional returns.
Browse files Browse the repository at this point in the history
These were broken by D17339.

Differential Revision: http://reviews.llvm.org/D19158

llvm-svn: 266454
  • Loading branch information
mwkmwkmwk committed Apr 15, 2016
1 parent 01ae1da commit a344ae8
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-01.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -101,5 +103,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-03.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -103,5 +105,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-04.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -107,5 +109,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-05.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -105,5 +107,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-06.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -105,5 +107,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-09.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -103,5 +105,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -107,5 +109,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-11.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -123,5 +125,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'
3 changes: 3 additions & 0 deletions llvm/test/CodeGen/SystemZ/Large/branch-range-12.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -123,5 +125,6 @@
print ''
print 'after%d:' % i

print ' %dummy = load volatile i32, i32 *@global'
print ' ret void'
print '}'

0 comments on commit a344ae8

Please sign in to comment.