[Mlir-commits] [mlir] [mlir][sparse] implement lowering rules for ExtractIterSpaceOp. (PR #89143)

Ingo Müller llvmlistbot at llvm.org
Fri May 10 09:16:39 PDT 2024


================
@@ -94,8 +94,10 @@ class DenseLevel : public SparseTensorLevel {
 
   ValueRange getLvlBuffers() const override { return {}; }
 
-  ValuePair peekRangeAt(OpBuilder &b, Location l, ValueRange, Value p,
-                        Value max) const override {
+  ValuePair peekRangeAt(OpBuilder &b, Location l, ValueRange batchPrefix,
+                        ValueRange parentPos) const override {
+    assert(parentPos.size() == 1 && "Dense level can not be non-unique.");
----------------
ingomueller-net wrote:

```suggestion
    assert(parentPos.size() == 1 && "Dense level cannot be non-unique.");
```

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


More information about the Mlir-commits mailing list