summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_cfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_cfg.cpp')
-rw-r--r--src/intel/compiler/brw_cfg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_cfg.cpp b/src/intel/compiler/brw_cfg.cpp
index d5e8913e058..70a7530e265 100644
--- a/src/intel/compiler/brw_cfg.cpp
+++ b/src/intel/compiler/brw_cfg.cpp
@@ -352,6 +352,7 @@ cfg_t::cfg_t(exec_list *instructions)
*/
assert(cur_do != NULL);
cur->add_successor(mem_ctx, cur_do, bblock_link_physical);
+ cur->add_successor(mem_ctx, cur_while, bblock_link_logical);
next = new_block();
if (inst->predicate)