Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2020-11-29 18:54:40 -08:00
parent 4b98e171a4
commit cb4977eed5
40 changed files with 420 additions and 362 deletions

View File

@@ -248,7 +248,8 @@ BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id,
function_->InsertBasicBlockAfter(std::move(new_block_temp), this);
new_block->insts_.Splice(new_block->end(), &insts_, iter, end());
new_block->SetParent(GetParent());
assert(new_block->GetParent() == GetParent() &&
"The parent should already be set appropriately.");
context->AnalyzeDefUse(new_block->GetLabelInst());