diff options
author | Karol Herbst <[email protected]> | 2019-02-12 20:59:35 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-02-13 14:14:35 -0800 |
commit | 7ac15d9e4248ddafba8189e5dfcacddc1af367e2 (patch) | |
tree | 4d68244ba07d03787c16d9d236025bb7cdb23978 /bin/install_megadrivers.py | |
parent | 6b484511104c5bddfd552cb83b1c7ee600004000 (diff) |
nir/opt_if: don't mark progress if nothing changes
if we have something like this:
loop {
...
if x {
break;
} else {
continue;
}
}
opt_if_loop_last_continue returns true marking progress allthough nothing
changes.
Fixes: 5921a19d4b0c6 "nir: add if opt opt_if_loop_last_continue()"
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
(cherry picked from commit 7e08f22a72cfc379902feeca3673db6aa344f782)
Diffstat (limited to 'bin/install_megadrivers.py')
0 files changed, 0 insertions, 0 deletions