[all-commits] [llvm/llvm-project] 270ade: [mlir][Transform] `apply_conversion_patterns`: Upd...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Mar 4 19:04:46 PST 2024


  Branch: refs/heads/users/matthias-springer/apply_conversion_patterns_listener
  Home:   https://github.com/llvm/llvm-project
  Commit: 270ade8d830bbed2ebee448c03b82b058707f6ff
      https://github.com/llvm/llvm-project/commit/270ade8d830bbed2ebee448c03b82b058707f6ff
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/test-pattern-application.mlir

  Log Message:
  -----------
  [mlir][Transform] `apply_conversion_patterns`: Update handles

Until now, `transform.apply_conversion_patterns` consumed the target handle and potentially invalidated handles. This commit adds tracking functionality similar to `transform.apply_patterns`, such that handles are no longer invalidated, but updated based on op replacements performed by the dialect conversion.

This new functionality is hidden behind a `preserve_handles` attribute for now.



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