Skip to content

Commit

Permalink
Merge pull request rust-lang#139 from ptersilie/br_block
Browse files Browse the repository at this point in the history
Serialise the successor block of unconditional branches.
  • Loading branch information
ltratt authored Apr 24, 2024
2 parents 9cb7ad9 + 1be44a9 commit 8212ae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/YkIR/YkIRWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ class YkIRWriter {
//
// opcode:
serialiseOpcode(OpCodeBr);
// successor:
serialiseBlockLabel(I->getSuccessor(0));
} else {
// opcode:
serialiseOpcode(OpCodeCondBr);
Expand Down

0 comments on commit 8212ae1

Please sign in to comment.