[all-commits] [llvm/llvm-project] 819e5f: [mlir][Transforms] Encapsulate dialect conversion ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Feb 19 06:03:25 PST 2024


  Branch: refs/heads/users/matthias-springer/conversion_config
  Home:   https://github.com/llvm/llvm-project
  Commit: 819e5f95ed0857e88972501cb10b9931b1e91a1c
      https://github.com/llvm/llvm-project/commit/819e5f95ed0857e88972501cb10b9931b1e91a1c
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp

  Log Message:
  -----------
  [mlir][Transforms] Encapsulate dialect conversion options in `ConversionConfig`

This commit adds a new `ConversionConfig` struct that allows users to customize the dialect conversion. This configuration is similar to `GreedyRewriteConfig` for the greedy pattern rewrite driver.

A few existing options are moved to this objects, simplifying the dialect conversion API.



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