[Mlir-commits] [mlir] [mlir][sparse] support tensor.pad on CSR tensors (PR #90687)

Yinying Li llvmlistbot at llvm.org
Wed May 1 13:54:40 PDT 2024


================
@@ -95,8 +95,9 @@ class DenseLevel : public SparseTensorLevel {
   ValueRange getLvlBuffers() const override { return {}; }
 
   ValuePair peekRangeAt(OpBuilder &b, Location l, ValueRange batchPrefix,
-                        ValueRange parentPos) const override {
+                        ValueRange parentPos, Value inPadZone) const override {
     assert(parentPos.size() == 1 && "Dense level can not be non-unique.");
+    assert(!inPadZone && "Not implememnted");
----------------
yinying-lisa-li wrote:

typo: implemented

https://github.com/llvm/llvm-project/pull/90687


More information about the Mlir-commits mailing list