[all-commits] [llvm/llvm-project] 65a8e3: [MLIR] Fix crash in notifyBlockInserted() debug ou...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 4 18:39:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65a8e3a400f23eaa1270a5a000e262df954a4ef6
      https://github.com/llvm/llvm-project/commit/65a8e3a400f23eaa1270a5a000e262df954a4ef6
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

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

  Log Message:
  -----------
  [MLIR] Fix crash in notifyBlockInserted() debug output (NFC)

notifyBlockInserted can be called when inserting a block in a region before
the op is built (like when building a scf::ForOp). This make us defensive
by checking the parent op before printing it.



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