[all-commits] [llvm/llvm-project] c988bf: [mlir][memref] Canonicalize memref.reinterpret_cas...
Ming Yan via All-commits
all-commits at lists.llvm.org
Fri Oct 17 03:19:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c988bf82e0b400c48687480d8092c877f6560914
https://github.com/llvm/llvm-project/commit/c988bf82e0b400c48687480d8092c877f6560914
Author: Ming Yan <ming.yan at terapines.com>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
Log Message:
-----------
[mlir][memref] Canonicalize memref.reinterpret_cast when offset/sizes/strides are constants. (#163505)
Implement folding logic to canonicalize memref.reinterpret_cast ops when
offset, sizes and strides are compile-time constants. This removes
dynamic shape annotations and produces a static memref form, allowing
further lowering and backend optimizations.
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