[Mlir-commits] [mlir] [mlir][sparse] fix stack overflow due to alloca instruction inside loops (PR #69765)
    Aart Bik 
    llvmlistbot at llvm.org
       
    Fri Oct 20 13:02:34 PDT 2023
    
    
  
================
@@ -589,14 +589,23 @@ class SparseTensorInsertConverter : public OpConversionPattern<InsertOp> {
     const auto stt = getSparseTensorType(op.getTensor());
     const auto elemTp = stt.getElementType();
     const Level lvlRank = stt.getLvlRank();
+    // We need a alloc scope here as the InsertOp is always generated inside a
----------------
aartbik wrote:
an alloc scope
https://github.com/llvm/llvm-project/pull/69765
    
    
More information about the Mlir-commits
mailing list