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

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Mar 7 18:00:03 PST 2024


  Branch: refs/heads/users/matthias-springer/apply_conversion_patterns_listener
  Home:   https://github.com/llvm/llvm-project
  Commit: c69836338ff095a085b792bf0d04e1d5dfe0e8b8
      https://github.com/llvm/llvm-project/commit/c69836338ff095a085b792bf0d04e1d5dfe0e8b8
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-08 (Fri, 08 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