diff --git a/llvm/lib/YkIR/YkIRWriter.cpp b/llvm/lib/YkIR/YkIRWriter.cpp index 99bbc6df4a496..8c6086b4263e4 100644 --- a/llvm/lib/YkIR/YkIRWriter.cpp +++ b/llvm/lib/YkIR/YkIRWriter.cpp @@ -450,6 +450,8 @@ class YkIRWriter { // // opcode: serialiseOpcode(OpCodeBr); + // successor: + serialiseBlockLabel(I->getSuccessor(0)); } else { // opcode: serialiseOpcode(OpCodeCondBr);