[all-commits] [llvm/llvm-project] 33cec2: [mlir][memref] Tighten verification of memref.rein...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Mon Jan 10 02:56:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33cec20dbd3bb8a896084da4a87f00d1cf13f77a
https://github.com/llvm/llvm-project/commit/33cec20dbd3bb8a896084da4a87f00d1cf13f77a
Author: Stephan Herhut <herhut at google.com>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/MemRef/invalid.mlir
M mlir/test/Dialect/MemRef/ops.mlir
M mlir/test/mlir-cpu-runner/copy.mlir
Log Message:
-----------
[mlir][memref] Tighten verification of memref.reinterpret_cast
We allow the omission of a map in memref.reinterpret_cast under the assumption,
that the cast might cast to an identity layout. This change adds verification
that the static knowledge that is present in the reinterpret_cast supports
this assumption.
Differential Revision: https://reviews.llvm.org/D116601
More information about the All-commits
mailing list