[all-commits] [llvm/llvm-project] 1d0050: [mlir][Shape] Make sure tensor_cast(constant_shape...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Thu Dec 10 01:54:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d00508c5bf0d43203e11765ce84cdd6cf257856
      https://github.com/llvm/llvm-project/commit/1d00508c5bf0d43203e11765ce84cdd6cf257856
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M mlir/lib/Dialect/Shape/IR/ShapeCanonicalization.td
    M mlir/test/Dialect/Shape/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Shape] Make sure tensor_cast(constant_shape) folding uses the correct type

This is still subtle, but I think the test cases are sufficient to show
that it works.

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




More information about the All-commits mailing list