diff options
author | Timothy Arceri <[email protected]> | 2016-12-09 16:49:09 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-12-23 10:59:32 +1100 |
commit | f20ba7ad4476013a6a322a8d562f38bc6c4e2370 (patch) | |
tree | 230ea46c23ccc3530c24a1ef576a915ee5147a08 /doxygen/radeon_subset.doxy | |
parent | 40e9f2f13847ddd94e1216088aa00456d7b02d2b (diff) |
nir: update nir_lower_returns to only predicate instructions when needed
Unless an if statement contains nested returns we can simply add
any following instructions to the branch without the return.
V2: fix handling if_nested_return value when there is a sibling if/loop
that doesn't contain a return. (Spotted by Ken)
V3:
- add a better comment to the new variable
- remove instructions after if when both branches return
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'doxygen/radeon_subset.doxy')
0 files changed, 0 insertions, 0 deletions