From 2c302a8dfab6b57ea56a906e873f28d054969d1c Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 27 Feb 2015 23:29:39 +0000 Subject: Update SystemZ/Large test generators to handle new gep IR syntax llvm-svn: 230810 --- llvm/test/CodeGen/SystemZ/Large/branch-range-07.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/SystemZ/Large/branch-range-07.py') 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): -- cgit v1.2.3