[all-commits] [llvm/llvm-project] eba14f: [mlir][affine] Generalize canonicalization for one...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Mon Nov 4 13:07:06 PST 2024


  Branch: refs/heads/users/krzysz00/genarilize-delinearize-canonicalize
  Home:   https://github.com/llvm/llvm-project
  Commit: eba14f1da374c85c186a2e559ceacb0bff24317d
      https://github.com/llvm/llvm-project/commit/eba14f1da374c85c186a2e559ceacb0bff24317d
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [mlir][affine] Generalize canonicalization for one-element delinearize

There was an existing canonicalization pattern for delinearize_index
that would remove `affine.delinearize_index %linear into (%basis)`
under some conditions. However, the delinearize_index means that this
rewrite is always permissisible.



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