[Mlir-commits] [mlir] [mlir][sparse] fold explicit value during sparsification (PR #90530)
Aart Bik
llvmlistbot at llvm.org
Mon Apr 29 15:48:29 PDT 2024
================
@@ -0,0 +1,75 @@
+// RUN: mlir-opt %s --linalg-generalize-named-ops \
+// RUN: --sparsification-and-bufferization | FileCheck %s
+
+#CSR_ones_complex = #sparse_tensor.encoding<{
+ map = (d0, d1) -> (d0 : dense, d1 : compressed)
+// explicitVal = (1.0, 0.0) : complex<f32>,
+// implicitVal = (1.0, 0.0) : complex<f32>
----------------
aartbik wrote:
Of course, I was playing around with values and ended up with the wrong one ;-)
https://github.com/llvm/llvm-project/pull/90530
More information about the Mlir-commits
mailing list