commit | d9ad6f54dcf6c4deb43055e45f1636e74c176ce3 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@chromium.org> | Wed Sep 04 11:28:26 2019 -0700 |
committer | Rob Clark <robdclark@gmail.com> | Fri Sep 06 00:13:44 2019 +0000 |
tree | 1aa2ef37835d66bf7029bc60fdc54cf9c1702523 | |
parent | e59bfc820bdf8531c941150de2ea56fb83b6b28f [diff] |
freedreno/ir3: fix cp cmps.s opt Need to use ir3_instr_set_address(), otherwise the instruction might not get added to the indirects table. This becomes a problem when we turn on copy propagation for relative accesses, as check_instr() in the sched pass won't realize there is an indirect consumer of address register load that is ready to be scheduled. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Eric Anholt <eric@anholt.net>