[all-commits] [llvm/llvm-project] 08e101: [mlir][Transforms] Dialect Conversion: check for "...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Jul 26 07:28:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08e101e274feb269f947fc49aea0d0677ce65bcd
      https://github.com/llvm/llvm-project/commit/08e101e274feb269f947fc49aea0d0677ce65bcd
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-07-26 (Sat, 26 Jul 2025)

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

  Log Message:
  -----------
  [mlir][Transforms] Dialect Conversion: check for "failure" after modification (#150748)

Add a new "expensive check" when running with `allowPatternRollback =
false`: returning "failure" after modifying IR is no longer allowed.
This check detects a few more API violations in addition to the check
`undoRewrites`. The latter check will be removed soon. (Because the
One-Shot Dialect Conversion will no longer maintain the stack of IR
rewrites.)

Also fix a build error when expensive checks are enabled.



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