Files
clang-p2996/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
Vinayak Dev 2f15d7e43e [mlir][tensor] Fix off-by-one error in ReshapeOpsUtils (#112774)
This patch fixes an off-by-one error in
`mlir::getReassociationIndicesForCollapse()` that occurs when the last
two dims of the source tensor satisfy the while loop.

This would cause an assertion failure due to out-of-bounds-access, which
is now fixed.
2024-10-18 14:02:30 +05:30

19 KiB