[all-commits] [llvm/llvm-project] eaa4b6: [mlir][bufferization] Clone simplify fails when in...

donald chen via All-commits all-commits at lists.llvm.org
Fri Jan 12 07:11:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaa4b6cf2914435c7549d5caa09b5f2d87082ed0
      https://github.com/llvm/llvm-project/commit/eaa4b6cf2914435c7549d5caa09b5f2d87082ed0
  Author: donald chen <62002319+cxy-1993 at users.noreply.github.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/test/Dialect/Bufferization/canonicalize.mlir

  Log Message:
  -----------
  [mlir][bufferization] Clone simplify fails when input and result type not cast compatiable (#71310)

The simplify of bufferization.clone generates a memref.cast op, but the
checks in simplify do not verify whether the operand types and return
types of clone op is compatiable, leading to errors. This patch
addresses this issue.




More information about the All-commits mailing list