summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/Large/branch-range-07.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-07.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-07.py')
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/branch-range-07.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/branch-range-07.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-07.py
index f1c8ea0328b..c5fef10577f 100644
--- a/llvm/test/CodeGen/SystemZ/Large/branch-range-07.py
+++ b/llvm/test/CodeGen/SystemZ/Large/branch-range-07.py
@@ -39,7 +39,7 @@ print 'define void @f1(i8 *%base, i32 *%counts) {'
print 'entry:'
for i in xrange(branch_blocks - 1, -1, -1):
- print ' %%countptr%d = getelementptr i32 *%%counts, i64 %d' % (i, i)
+ print ' %%countptr%d = getelementptr i32, i32 *%%counts, i64 %d' % (i, i)
print ' %%initcount%d = load i32 , i32 *%%countptr%d' % (i, i)
print ' br label %%loop%d' % i
@@ -54,7 +54,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):
OpenPOWER on IntegriCloud