[all-commits] [llvm/llvm-project] 9e5f9f: [MLIR] Fix release build: reference to NDEBUG guar...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sun Jul 27 13:25:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e5f9ff82f2f060aac73a965ab37fdbb6b53cfe0
      https://github.com/llvm/llvm-project/commit/9e5f9ff82f2f060aac73a965ab37fdbb6b53cfe0
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

  Changed paths:
    M mlir/lib/Transforms/Utils/Inliner.cpp

  Log Message:
  -----------
  [MLIR] Fix release build: reference to NDEBUG guarded function (NFC)

With LDBG(), the code isn't guarded in release mode, even if the optimizer
will remove it because there is a `if (false)` statement. We need the
function declaration to be there at minima.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list