[all-commits] [llvm/llvm-project] b05a12: Let `memref.expand_shape` implement `ReifyRankedSh...

Benoit Jacob via All-commits all-commits at lists.llvm.org
Fri May 3 15:33:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b05a12e9d0b668effa50f566508daa279ec85c93
      https://github.com/llvm/llvm-project/commit/b05a12e9d0b668effa50f566508daa279ec85c93
  Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/resolve-dim-ops.mlir

  Log Message:
  -----------
  Let `memref.expand_shape` implement `ReifyRankedShapedTypeOpInterface` (#90975)

This is a new take on #89111. Now that #90040 is merged, this has become
trivial to implement. The added test shows the kind of benefit that we
get from this: now dim-of-expand-shape naturally folds without us
needing to implement an ad-hoc folding rewrite.



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