mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 05:20:09 +01:00
intel/ir: Represent physical edge of unconditional CONTINUE instruction.
This edge doesn't exist in the original scalar program, but it represents a potential control flow path the EU will take in cases where control flow isn't uniform across channels of the same SIMD thread. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
eeaad2992c
commit
6965a02e09
1 changed files with 2 additions and 0 deletions
|
|
@ -334,6 +334,8 @@ cfg_t::cfg_t(exec_list *instructions)
|
|||
next = new_block();
|
||||
if (inst->predicate)
|
||||
cur->add_successor(mem_ctx, next, bblock_link_logical);
|
||||
else
|
||||
cur->add_successor(mem_ctx, next, bblock_link_physical);
|
||||
|
||||
set_next_block(&cur, next, ip);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue