Skip to content

Commit

Permalink
Serialise the successor block of unconditional branches.
Browse files Browse the repository at this point in the history
We'll need this for the new outlining algorithm.
  • Loading branch information
ptersilie committed Apr 24, 2024
1 parent 9cb7ad9 commit 1be44a9
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 1be44a9

Please sign in to comment.