Author: Richard Plangger <[email protected]>
Branch: 
Changeset: r80274:4ac4bedc5ad0
Date: 2015-10-16 16:12 +0200
http://bitbucket.org/pypy/pypy/changeset/4ac4bedc5ad0/

Log:    accidentally omitted the first instruction when entering
        vectorization (in the test suite this removed only a debug merge
        point)

diff --git a/rpython/jit/metainterp/optimizeopt/vector.py 
b/rpython/jit/metainterp/optimizeopt/vector.py
--- a/rpython/jit/metainterp/optimizeopt/vector.py
+++ b/rpython/jit/metainterp/optimizeopt/vector.py
@@ -103,7 +103,8 @@
     user_code = not jitdriver_sd.vec and warmstate.vec_all
     e = len(loop_ops)-1
     assert e > 0
-    loop = VectorLoop(loop_info.label_op, loop_ops[1:e], loop_ops[-1])
+    assert loop_ops[e].is_final()
+    loop = VectorLoop(loop_info.label_op, loop_ops[:e], loop_ops[-1])
     if user_code and user_loop_bail_fast_path(loop, warmstate):
         return loop_info, loop_ops
     # the original loop (output of optimize_unroll)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to