[all-commits] [llvm/llvm-project] cd9393: [mlir][MemRef] Make sure types match when folding ...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue Jun 15 03:50:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd939351467643a80490d036408b1036d39b9814
      https://github.com/llvm/llvm-project/commit/cd939351467643a80490d036408b1036d39b9814
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/Standard/canonicalize.mlir

  Log Message:
  -----------
  [mlir][MemRef] Make sure types match when folding dim(reshape)

Reshape can take integer types in addition to index, but dim always
returns index.

Differential Revision: https://reviews.llvm.org/D104287




More information about the All-commits mailing list