summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2019-01-03 14:11:58 +0000
committerSerge Guelton <sguelton@quarkslab.com>2019-01-03 14:11:58 +0000
commit07ccb4b81de973819cf212d1b4e8538894ca8f48 (patch)
treede6e3e479c14f6e7137975bee06117e1fc5c1158 /llvm/test/CodeGen/SystemZ/Large/branch-range-02.py
parent707fab58a985df721ef678ed79a64da7d2adfe7f (diff)
downloadbcm5719-llvm-07ccb4b81de973819cf212d1b4e8538894ca8f48.tar.gz
bcm5719-llvm-07ccb4b81de973819cf212d1b4e8538894ca8f48.zip
Pythran compat - range vs. xrange
Use range instead of xrange whenever possible. The extra list creation in Python2 is generally not a performance bottleneck. Differential Revision: https://reviews.llvm.org/D56253 llvm-svn: 350309
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/Large/branch-range-02.py')
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/branch-range-02.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py b/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py
index 4566d9746e8..155f742dca6 100644
--- a/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py
+++ b/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py
@@ -66,7 +66,7 @@ print(' br label %b0')
print('')
a, b = 1, 1
-for i in xrange(blocks):
+for i in range(blocks):
a, b = b, a + b
value = a % 256
next = 'b%d' % (i + 1) if i + 1 < blocks else 'end'
OpenPOWER on IntegriCloud