[llvm] [SandboxIR] Implement CallBase and CallInst (PR #100218)
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 13:08:15 PDT 2024
================
@@ -435,7 +453,7 @@ class Constant : public sandboxir::User {
return getUseOperandNoDefault(Use);
}
#ifndef NDEBUG
- void verify() const final {
+ void verify() const override {
assert(isa<llvm::Constant>(Val) && "Expected Constant!");
}
friend raw_ostream &operator<<(raw_ostream &OS,
----------------
alinas wrote:
My mental model for print functions in LLVM is that the << operator is not under NDEBUG, but dump is. Where both call a print method, also not under NDEBUG.
https://github.com/llvm/llvm-project/pull/100218
More information about the llvm-commits
mailing list