nir/spirv/cfg: Handle unreachable instructions

This commit is contained in:
Jason Ekstrand 2016-01-11 15:35:15 -08:00
parent fc3f659aa9
commit bb5882e6af

View file

@ -426,6 +426,8 @@ vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list,
}
case SpvOpUnreachable:
return;
default:
unreachable("Unhandled opcode");
}