[all-commits] [llvm/llvm-project] 0a72e6: [mlir][Transforms] `ConversionPatternRewriter`: Ad...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Aug 6 23:33:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a72e6ddac0f9154b806c40992d1616fa86957d8
https://github.com/llvm/llvm-project/commit/0a72e6ddac0f9154b806c40992d1616fa86957d8
Author: Matthias Springer <me at m-sp.org>
Date: 2025-08-07 (Thu, 07 Aug 2025)
Changed paths:
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms] `ConversionPatternRewriter`: Add `config` getter (#152310)
Add a helper function to `ConversionPatternRewriter` that returns the
dialect conversion configuration. This flag is useful when migrating
conversion patterns to the new One-Shot Conversion Driver: patterns can
check if they are running in rollback mode or not. They can then work
around API changes and makes sure that the pattern keeps working with
both the old and new driver.
Also remove the `config` field from `OperationLegalizer`. That field was
never needed.
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