llvm-project
4dbaef6d - [mlir][Linalg] Avoid doing op replacement in `linalg::dropUnitDims`. (#105749)

Commit
1 year ago
[mlir][Linalg] Avoid doing op replacement in `linalg::dropUnitDims`. (#105749) It is better to do the replacement in the caller. This avoids the footgun if the caller needs the original operation. Instead return the produced operation and replacement values. Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
Parents
Loading