Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2020-07-17 20:30:36 -07:00
parent 8d5c7eae3a
commit c851c522f6
71 changed files with 1778 additions and 578 deletions
-6
View File
@@ -58,15 +58,9 @@ void BasicBlock::RegisterSuccessors(
for (auto& block : next_blocks) {
block->predecessors_.push_back(this);
successors_.push_back(block);
if (block->reachable_ == false) block->set_reachable(reachable_);
}
}
void BasicBlock::RegisterBranchInstruction(SpvOp branch_instruction) {
if (branch_instruction == SpvOpUnreachable) reachable_ = false;
return;
}
bool BasicBlock::dominates(const BasicBlock& other) const {
return (this == &other) ||
!(other.dom_end() ==