[all-commits] [llvm/llvm-project] 5ec6ac: [mlir][Transforms][NFC] Dialect Conversion: Move `...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ec6ac882c9fffaae6cf194f738e86f796394cd3
      https://github.com/llvm/llvm-project/commit/5ec6ac882c9fffaae6cf194f738e86f796394cd3
  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][NFC] Dialect Conversion: Move `lookup` functions (#150743)

Add `lookupOrDefault` / `lookupOrNull` wrappers to
`ConversionPatternRewriterImpl` and call those wrappers throughout the
code base.

This commit is in preparation of the One-Shot Dialect Conversion
refactoring. In future, the implementation will bypass the `mapping`
when rollback is disabled. The switch will be made in those wrapper
functions.



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