[Mlir-commits] [mlir] [mlir][sparse] fix stack overflow due to alloca instruction inside loops (PR #69765)

Peiming Liu llvmlistbot at llvm.org
Fri Oct 20 13:07:45 PDT 2023


================
@@ -120,7 +120,7 @@ def ExecuteRegionOp : SCF_Op<"execute_region", [
 //===----------------------------------------------------------------------===//
 
 def ForOp : SCF_Op<"for",
-      [AutomaticAllocationScope, DeclareOpInterfaceMethods<LoopLikeOpInterface,
----------------
PeimingLiu wrote:

I don't think `scf.forall` and `scf.parallel_for` should have the trait either.

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


More information about the Mlir-commits mailing list