[all-commits] [llvm/llvm-project] 49f39b: [mlir][Transforms][NFC] Simplify function signatur...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Aug 29 06:16:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49f39b349db181ca516eb0253462105ff0e2c634
      https://github.com/llvm/llvm-project/commit/49f39b349db181ca516eb0253462105ff0e2c634
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

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

  Log Message:
  -----------
  [mlir][Transforms][NFC] Simplify function signatures (#155997)

Many internal functions take a `ConversionPatternRewriter &` or
`ConversionPatternRewriterImpl &` as a parameter. There's only a single
instance of these classes, so it's better to store the reference in a
field. This commit is in preparation of another PR that will require
access to `ConversionPatternRewriter` in additional helper functions.

Note: Public API does not change.



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