[all-commits] [llvm/llvm-project] ac0fe5: [mlir][linalg] Remove unused payload related OutOp...
Stanley Winata via All-commits
all-commits at lists.llvm.org
Mon Oct 10 11:49:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac0fe5dd14734be850ffebea1574d46e393f429a
https://github.com/llvm/llvm-project/commit/ac0fe5dd14734be850ffebea1574d46e393f429a
Author: Stanley Winata <stanley at nod-labs.com>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize-duplicate-inputs.mlir
Log Message:
-----------
[mlir][linalg] Remove unused payload related OutOpOperand
Some higher level operations such as torch.max generates linalg generic
that returns both the index and the value of the max operation. However
sometimes not all information is being used. This however blocks
vectorization for certain cases which causes performance degradation.
This patch aims to fix this issue.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D135388
More information about the All-commits
mailing list