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

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Mar 9 19:11:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1029b6a9b423320ec8f0d1cde24d8f4d8139f63
      https://github.com/llvm/llvm-project/commit/c1029b6a9b423320ec8f0d1cde24d8f4d8139f63
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-03-10 (Sun, 10 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 (#83950)

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