aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJim Kitchen <jim22k@gmail.com>2023-02-10 13:08:49 -0600
committerJim Kitchen <jim22k@gmail.com>2023-02-10 13:09:28 -0600
commit81d0d2b2a068eae9692b9317bceaaea252c1bbf8 (patch)
tree93d1f287b2fbda21ef52f3ef0fc873d025dba7d5 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parentae2d8b49713d8987124ba5eee41b4b29191bbd56 (diff)
downloadllvm-81d0d2b2a068eae9692b9317bceaaea252c1bbf8.zip
llvm-81d0d2b2a068eae9692b9317bceaaea252c1bbf8.tar.gz
llvm-81d0d2b2a068eae9692b9317bceaaea252c1bbf8.tar.bz2
[mlir][sparse] Sparse reduction in lex order no longer produces dense output
Previously, when performing a reduction on a sparse tensor, the result would be different depending on iteration order. For expanded access pattern, an empty row would contribute no entry in the output. For lex ordering, the identity would end up in the output. This code changes that behavior and keeps track of whether any entries were actually reduced in lex ordering, making the output consistent between the two iteration styles. Differential Revision: https://reviews.llvm.org/D142050
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions