[pypy-commit] pypy jit-short_from_state: revrese ops will only be propagated if the resulting op survives by other means

hakanardo noreply at buildbot.pypy.org
Mon May 23 08:04:54 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r44370:2bcb0a4e48f5
Date: 2011-05-22 17:03 +0200
http://bitbucket.org/pypy/pypy/changeset/2bcb0a4e48f5/

Log:	revrese ops will only be propagated if the resulting op survives by
	other means

diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
--- a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
@@ -1420,6 +1420,9 @@
             i20 = int_ge(i18, i8)
             guard_false(i20, descr=...)
             f21 = getarrayitem_raw(i13, i18, descr=...)
+            i14 = int_sub(i6, 1)
+            i15 = int_ge(i14, i8)
+            guard_false(i15, descr=<Guard5>)
             f23 = getarrayitem_raw(i13, i14, descr=...)
             f24 = float_add(f21, f23)
             f26 = getarrayitem_raw(i13, i6, descr=...)


More information about the pypy-commit mailing list