diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-02-27 23:29:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-02-27 23:29:39 +0000 |
commit | 2c302a8dfab6b57ea56a906e873f28d054969d1c (patch) | |
tree | f43d2a43cc042665967431a218bfcdac368cf1e5 /llvm/test/CodeGen/SystemZ/Large/branch-range-08.py | |
parent | d7e13b0eb230d643990d44d731df8de6fc6f021d (diff) | |
download | bcm5719-llvm-2c302a8dfab6b57ea56a906e873f28d054969d1c.tar.gz bcm5719-llvm-2c302a8dfab6b57ea56a906e873f28d054969d1c.zip |
Update SystemZ/Large test generators to handle new gep IR syntax
llvm-svn: 230810
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/Large/branch-range-08.py')
-rw-r--r-- | llvm/test/CodeGen/SystemZ/Large/branch-range-08.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/branch-range-08.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-08.py index 80256bc5df6..8b6b6739833 100644 --- a/llvm/test/CodeGen/SystemZ/Large/branch-range-08.py +++ b/llvm/test/CodeGen/SystemZ/Large/branch-range-08.py @@ -40,7 +40,7 @@ print 'define void @f1(i8 *%base, i64 *%counts) {' print 'entry:' for i in xrange(branch_blocks - 1, -1, -1): - print ' %%countptr%d = getelementptr i64 *%%counts, i64 %d' % (i, i) + print ' %%countptr%d = getelementptr i64, i64 *%%counts, i64 %d' % (i, i) print ' %%initcount%d = load i64 , i64 *%%countptr%d' % (i, i) print ' br label %%loop%d' % i @@ -55,7 +55,7 @@ for i in xrange(0, main_size, 6): a, b = b, a + b offset = 4096 + b % 500000 value = a % 256 - print ' %%ptr%d = getelementptr i8 *%%base, i64 %d' % (i, offset) + print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset) print ' store volatile i8 %d, i8 *%%ptr%d' % (value, i) for i in xrange(branch_blocks): |