[llvm] [BasicBlockUtils] Add BasicBlock printer (PR #163066)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 00:59:54 PDT 2025
================
@@ -611,6 +612,8 @@ LLVM_ABI void InvertBranch(BranchInst *PBI, IRBuilderBase &Builder);
// br/brcond/unreachable/ret
LLVM_ABI bool hasOnlySimpleTerminator(const Function &F);
+LLVM_ABI Printable printBasicBlock(const BasicBlock *BB);
----------------
Meinersbur wrote:
Consider adding a short doxygen comment
https://github.com/llvm/llvm-project/pull/163066
More information about the llvm-commits
mailing list