[Bug 108624] [regression][bisected] "nir: Copy propagation between blocks" regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 19 17:48:36 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108624

--- Comment #3 from Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com> ---
commit 947f7b452a550c66cfb9a8c9518e35635eb25947
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Dec 14 16:10:32 2018 -0800

    nir: properly find the entry to keep in copy_prop_vars

    When copy propagation handles a store/copy, it iterates the current
    copy entries to remove aliases, but keeps the "equal" entry (if
    exists) to be updated.

    The removal step may swap the entries around (to ensure there are no
    holes), invalidating previous iteration pointers.  The bug was saving
    such pointer to use later.  Change the code to first perform the
    removals and then find the remaining right entry.

    This was causing updates to be lost since they were being made to an
    entry that was not part of the current copies.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108624
    Fixes: b3c61469255 "nir: Copy propagation between blocks"
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20181219/f965410c/attachment.html>


More information about the intel-3d-bugs mailing list