aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJim Kitchen <jim22k@gmail.com>2022-09-13 15:22:53 -0500
committerJim Kitchen <jim22k@gmail.com>2022-09-13 15:22:53 -0500
commit07150fece507d72bd35619b51e5cfd17ed2474ca (patch)
treea8f4f3c9e1cfa744ca35da3759d65969e8f0b36b /llvm/lib/CodeGen/MachineOperand.cpp
parent67f08bf1bfa85fcdc1d91a3e6cce703e94611244 (diff)
downloadllvm-07150fece507d72bd35619b51e5cfd17ed2474ca.zip
llvm-07150fece507d72bd35619b51e5cfd17ed2474ca.tar.gz
llvm-07150fece507d72bd35619b51e5cfd17ed2474ca.tar.bz2
[mlir][sparse] Add sparse_tensor.select operation
The new select operation allows filtering of sparse tensors by conditionally keeping or removing each element. This can be used to remove negative values or select the upper triangle of a matrix. The select op has a single region which operates on a single value and must return a boolean True to keep or False to drop. Reviewed by: aartbik Differential Revision: https://reviews.llvm.org/D133569
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions