diff options
author | Peiming Liu <peiming@google.com> | 2022-12-08 20:03:18 +0000 |
---|---|---|
committer | Peiming Liu <peiming@google.com> | 2022-12-08 23:36:30 +0000 |
commit | faa75f94f113f2e912a672afcd611ecc79942e6a (patch) | |
tree | ae5a67711b67d2e249a8b3dee3f089e7151e104b /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 4efcea95852abe6ed25ae9a2bf8c3a51a1157675 (diff) | |
download | llvm-faa75f94f113f2e912a672afcd611ecc79942e6a.zip llvm-faa75f94f113f2e912a672afcd611ecc79942e6a.tar.gz llvm-faa75f94f113f2e912a672afcd611ecc79942e6a.tar.bz2 |
[mlir][sparse] reject kernels with non-sparsfiable reduction expression.
To address https://github.com/llvm/llvm-project/issues/59394.
Reduction on negation of the output tensor is a non-sparsifiable kernel, it creates cyclic dependency.
This patch reject those cases instead of crashing.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D139659
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions