[llvm] [SandboxIR] Fix base class of FenceInst. Verify instructions when building a BB in debug mode. (PR #108078)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 13:13:20 PDT 2024


================
@@ -3249,4 +3249,12 @@ void BasicBlock::dumpOS(raw_ostream &OS) const {
     }
   }
 }
+
+void BasicBlock::verify() const {
----------------
Sterling-Augustine wrote:

This will need to be protected by `#ifndef NDEBUG`. Ask me how I know.

https://github.com/llvm/llvm-project/pull/108078


More information about the llvm-commits mailing list