[all-commits] [llvm/llvm-project] 9fa05b: [mlir][memref] Make memref.cast areCastCompatible ...
lonely eagle via All-commits
all-commits at lists.llvm.org
Fri Apr 17 06:33:43 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9fa05b0377de8d9f573b9a7f026bd202ef9e897a
https://github.com/llvm/llvm-project/commit/9fa05b0377de8d9f573b9a7f026bd202ef9e897a
Author: lonely eagle <2020382038 at qq.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/invalid.mlir
M mlir/test/Dialect/MemRef/ops.mlir
Log Message:
-----------
[mlir][memref] Make memref.cast areCastCompatible return true when meet same types (#192029)
When both the source and destination types of `memref.cast` are
unranked, it causes an IR verification failure, which impacts downstream
projects and its behavior is inconsistent with the documentation. To
address this, this PR now allows the operation to return true if the
source and destination types are identical.
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