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/spill-02.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/spill-02.py')
-rw-r--r-- | llvm/test/CodeGen/SystemZ/Large/spill-02.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/spill-02.py b/llvm/test/CodeGen/SystemZ/Large/spill-02.py index e079a63d23e..4ccfa11a0d3 100644 --- a/llvm/test/CodeGen/SystemZ/Large/spill-02.py +++ b/llvm/test/CodeGen/SystemZ/Large/spill-02.py @@ -29,7 +29,7 @@ print 'entry:' # Make the allocation big, so that it goes at the top of the frame. print ' %array = alloca [1000 x i64]' -print ' %area = getelementptr [1000 x i64] *%array, i64 0, i64 0' +print ' %area = getelementptr [1000 x i64], [1000 x i64] *%array, i64 0, i64 0' print ' %%base = call i64 *@foo(i64 *%%area%s)' % (', i64 0' * args) print '' @@ -37,7 +37,7 @@ print '' # another for %base, so we need 14 live values. count = 14 for i in range(count): - print ' %%ptr%d = getelementptr i64 *%%base, i64 %d' % (i, i / 2) + print ' %%ptr%d = getelementptr i64, i64 *%%base, i64 %d' % (i, i / 2) print ' %%val%d = load volatile i64 , i64 *%%ptr%d' % (i, i) print '' |