diff options
author | Connor Abbott <[email protected]> | 2015-07-21 19:54:22 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-08-24 13:31:42 -0700 |
commit | 747ddc3cdd51cc3786894e2ba56d86334a7051a5 (patch) | |
tree | 71e5c71ddcc0bf02965446a9bda8b50576edf40e /src/glsl/nir/nir_opcodes.py | |
parent | 13482111d0dd9649d4b14ed05df344d5a2cea3de (diff) |
nir/cf: split up and improve nir_handle_remove_jumps()
Before, the process of removing a jump and wiring up the remaining block
correctly was atomic, but with the new control flow modification it's
split into two parts: first, we extract the jump, which creates a new
block with re-wired successors as well as a free-floating jump, and then
we delete the control flow containing the jump, which removes the entry
in the predecessors and any phi node sources. Split up
nir_handle_remove_jumps() to accomodate this, and add the missing
support for removing phi node sources.
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_opcodes.py')
0 files changed, 0 insertions, 0 deletions