Skip to content

Commit

Permalink
[NFC] Add braces to if-statement in MachineVerifier
Browse files Browse the repository at this point in the history
  • Loading branch information
gargaroff committed Jun 15, 2020
1 parent ae33cbc commit 87e5742
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/lib/CodeGen/MachineVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -873,10 +873,11 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
}
}

if (!HasMBB)
if (!HasMBB) {
report("Branch instruction is missing a basic block operand or "
"isIndirectBranch property",
MI);
}
}

// Check types.
Expand Down

0 comments on commit 87e5742

Please sign in to comment.