[mlir][sparse] replace magic constant with symbol
authorAart Bik <ajcbik@google.com>
Tue, 1 Nov 2022 17:34:13 +0000 (10:34 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 1 Nov 2022 18:13:20 +0000 (11:13 -0700)
commit10db57b7ea4ef756b3ab2269263bffc2dfff9310
treefc5781c53ad4ee4b3e5e3d0f8c461cf90684a596
parent5baa4b8e1164b3635ef9220104159988f4ee836a
[mlir][sparse] replace magic constant with symbol

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D137177
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp