diff options
author | Timothy Arceri <[email protected]> | 2018-10-31 13:16:28 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-11-01 09:22:55 +1100 |
commit | 5b757b4097f3e1ceec29db04436970c510092126 (patch) | |
tree | fb6ccbf6bdb89d069c2cb62b4e31a7eaa9729a21 /doxygen/gbm.doxy | |
parent | 802ae533ab3487f324a701364b06ad82e6601c69 (diff) |
nir: fix if condition propagation for alu use
We need to update the cursor before we check if the alu use is
dominated by the if condition. Previously we were checking if
the current location of the alu instruction was dominated by
the if condition which would miss some optimisation opportunities.
Fixes: a3b4cb34589e ("nir/opt_if: Rework condition propagation")
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'doxygen/gbm.doxy')
0 files changed, 0 insertions, 0 deletions