Add OpLoopMerge

This commit is contained in:
ReinUsesLisp 2018-08-31 03:55:43 -03:00
parent 2bafba1a17
commit 136dcf88a7
2 changed files with 14 additions and 0 deletions

View file

@ -154,6 +154,10 @@ public:
// Flow
/// Declare a structured loop.
Ref LoopMerge(Ref merge_block, Ref continue_target, spv::LoopControlMask loop_control,
const std::vector<Ref>& literals = {});
/// The block label instruction: Any reference to a block is through this ref.
Ref Label();