[llvm] [SandboxIR] Fix base class of FenceInst. Verify instructions when building a BB in debug mode. (PR #108078)
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 13:59:29 PDT 2024
================
@@ -3249,4 +3249,12 @@ void BasicBlock::dumpOS(raw_ostream &OS) const {
}
}
}
+
+void BasicBlock::verify() const {
----------------
slackito wrote:
It is in the same `#ifdef NDEBUG` block as the `dumpOS` method right above it, isn't it?
https://github.com/llvm/llvm-project/pull/108078
More information about the llvm-commits
mailing list