[all-commits] [llvm/llvm-project] 560182: [mlir][tensor] Fix insert_slice + tensor cast over...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Fri Dec 10 13:41:39 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5601821daec72b221631cfd6175760557281d602
https://github.com/llvm/llvm-project/commit/5601821daec72b221631cfd6175760557281d602
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2021-12-10 (Fri, 10 Dec 2021)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir][tensor] Fix insert_slice + tensor cast overflow
InsertSliceOp may have subprefix semantics where missing trailing dimensions
are automatically inferred directly from the operand shape.
This revision fixes an overflow that occurs in such cases when the impl is based on the op rank.
Differential Revision: https://reviews.llvm.org/D115549
More information about the All-commits
mailing list