[all-commits] [llvm/llvm-project] 6086c2: [mlir][memref] Fix out-of-bounds crash when reifyi...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Oct 31 01:27:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6086c272a3a59eb0b6b79dcbe00486bf4461856a
https://github.com/llvm/llvm-project/commit/6086c272a3a59eb0b6b79dcbe00486bf4461856a
Author: Matthias Springer <me at m-sp.org>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp
A mlir/test/Dialect/MemRef/resolve-dim-ops.mlir
Log Message:
-----------
[mlir][memref] Fix out-of-bounds crash when reifying result dims (#70774)
Do not crash when the input IR is invalid, i.e., when the index of the
dimension operand of a `tensor.dim`/`memref.dim` is out-of-bounds. This
fixes #70180.
More information about the All-commits
mailing list