summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-27 23:29:39 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-27 23:29:39 +0000
commit2c302a8dfab6b57ea56a906e873f28d054969d1c (patch)
treef43d2a43cc042665967431a218bfcdac368cf1e5 /llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
parentd7e13b0eb230d643990d44d731df8de6fc6f021d (diff)
downloadbcm5719-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-10.py')
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/branch-range-10.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
index 07dcf49cbd9..c928081f554 100644
--- a/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
+++ b/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py
@@ -82,7 +82,7 @@ print ''
for i in xrange(branch_blocks):
next = 'before%d' % (i + 1) if i + 1 < branch_blocks else 'main'
print 'before%d:' % i
- print ' %%bstop%d = getelementptr i8 *%%stop, i64 %d' % (i, i)
+ print ' %%bstop%d = getelementptr i8, i8 *%%stop, i64 %d' % (i, i)
print ' %%bcur%d = load i8 , i8 *%%bstop%d' % (i, i)
print ' %%bext%d = sext i8 %%bcur%d to i64' % (i, i)
print ' %%btest%d = icmp ult i64 %%limit, %%bext%d' % (i, i)
@@ -95,11 +95,11 @@ 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):
- print ' %%astop%d = getelementptr i8 *%%stop, i64 %d' % (i, i + 25)
+ print ' %%astop%d = getelementptr i8, i8 *%%stop, i64 %d' % (i, i + 25)
print ' %%acur%d = load i8 , i8 *%%astop%d' % (i, i)
print ' %%aext%d = sext i8 %%acur%d to i64' % (i, i)
print ' %%atest%d = icmp ult i64 %%limit, %%aext%d' % (i, i)
OpenPOWER on IntegriCloud