llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[mlir][bug][Linalg] generic decomposition leads AffineFor fold to query a null Value

Open Kiritobl opened this issue 1 month ago • 2 comments

Version

LLVM/MLIR 24.0.0git, commit c275ebd64bf5b05e36a3a8e8b8daa32ba9a52aac (optimized build with assertions).

Bug Description

Observed failure: generic decomposition leads AffineFor fold to query a null Value. The input passes verification without the pass, but the command below crashes.

Likely Cause

Under --test-linalg-decompose-ops, an output-only linalg.generic whose result initializes an affine.for and whose linalg.index bounds that loop reaches AffineForOp::fold with a null SSA value. Scope/value analysis calls Value::getParentRegion or getParentBlock and asserts. The exact intermediate rewrite that first creates the null value is not established by the available trace; the reproducer and failure point are stable.

Steps to Reproduce

mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null

Reproducer (reproducer.mlir)

#map = affine_map<(d0) -> (d0)>
module {
  func.func @f(%arg0: tensor<?xf32>) -> tensor<?xf32> {
    %r = linalg.generic {indexing_maps = [#map], iterator_types = ["parallel"]} outs(%arg0 : tensor<?xf32>) {
    ^bb0(%out: f32):
      %a = arith.addf %out, %out : f32
      %idx = linalg.index 0 : index
      %loop = affine.for %iv = 0 to %idx iter_args(%carry = %a) -> (f32) {
        affine.yield %a : f32
      }
      linalg.yield %loop : f32
    } -> tensor<?xf32>
    return %r : tensor<?xf32>
  }
}

Stack Dump (full stderr)

mlir-opt: llvm/include/llvm/Support/Casting.h:644: decltype(auto) llvm::dyn_cast(const From&) [with To = mlir::OpResult; From = mlir::Value]: Assertion `detail::isPresent(Val) && "dyn_cast on a non-existent value"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0.	Program arguments: mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null
 #0 0x0000555fed18d699 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (mlir-opt+0x1fa0699)
 #1 0x0000555fed189e9c llvm::sys::RunSignalHandlers() (mlir-opt+0x1f9ce9c)
 #2 0x0000555fed18a006 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007f84ed725520 (libc.so.6+0x42520)
 #4 0x00007f84ed7799bc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #5 0x00007f84ed7799bc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #6 0x00007f84ed7799bc pthread_kill ./nptl/pthread_kill.c:89:10
 #7 0x00007f84ed725476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #8 0x00007f84ed70b7f3 abort ./stdlib/abort.c:81:7
 #9 0x00007f84ed70b71b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f84ed71ce96 (libc.so.6+0x39e96)
#11 0x0000555ff5a3bfd9 (mlir-opt+0xa84efd9)
#12 0x0000555ff525943e mlir::affine::AffineForOp::fold(mlir::affine::AffineForOpGenericAdaptor<llvm::ArrayRef<mlir::Attribute>>, llvm::SmallVectorImpl<mlir::OpFoldResult>&) (mlir-opt+0xa06c43e)
#13 0x0000555ff5259886 mlir::RegisteredOperationName::Model<mlir::affine::AffineForOp>::foldHook(mlir::Operation*, llvm::ArrayRef<mlir::Attribute>, llvm::SmallVectorImpl<mlir::OpFoldResult>&) (mlir-opt+0xa06c886)
#14 0x0000555ff5a03e34 mlir::Operation::fold(llvm::ArrayRef<mlir::Attribute>, llvm::SmallVectorImpl<mlir::OpFoldResult>&) (mlir-opt+0xa816e34)
#15 0x0000555ff5a042db mlir::Operation::fold(llvm::SmallVectorImpl<mlir::OpFoldResult>&) (mlir-opt+0xa8172db)
#16 0x0000555ff55ee421 (anonymous namespace)::GreedyPatternRewriteDriver::processWorklist() GreedyPatternRewriteDriver.cpp:0:0
#17 0x0000555ff55f2336 mlir::applyPatternsGreedily(mlir::Region&, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) (mlir-opt+0xa405336)
#18 0x0000555fed2a3782 (anonymous namespace)::TestLinalgDecomposeOps::runOnOperation() TestLinalgDecomposeOps.cpp:0:0
#19 0x0000555ff568c449 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (mlir-opt+0xa49f449)
#20 0x0000555ff568c7b4 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (mlir-opt+0xa49f7b4)
#21 0x0000555ff568e6f2 mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) (mlir-opt+0xa4a16f2)
#22 0x0000555ff568f6c9 mlir::PassManager::run(mlir::Operation*) (mlir-opt+0xa4a26c9)
#23 0x0000555fed2539b3 performActions(llvm::raw_ostream&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) MlirOptMain.cpp:0:0
#24 0x0000555fed2542de processBuffer(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef, mlir::MlirOptMainConfig const&, mlir::DialectRegistry&, mlir::SourceMgrDiagnosticVerifierHandler*, llvm::ThreadPoolInterface*) MlirOptMain.cpp:0:0
#25 0x0000555fed254521 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::'lambda'(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef, llvm::raw_ostream&)>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&) MlirOptMain.cpp:0:0
#26 0x0000555ff5a5ea2d mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (mlir-opt+0xa871a2d)
#27 0x0000555fed24f2da mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) (.part.0) MlirOptMain.cpp:0:0
#28 0x0000555fed254af8 mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) (mlir-opt+0x2067af8)
#29 0x0000555fed254d54 mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) (mlir-opt+0x2067d54)
#30 0x0000555fed1015cc main (mlir-opt+0x1f145cc)
#31 0x00007f84ed70cd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#32 0x00007f84ed70ce40 call_init ./csu/../csu/libc-start.c:128:20
#33 0x00007f84ed70ce40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#34 0x0000555fed16cf35 _start (mlir-opt+0x1f7ff35)

Kiritobl avatar Oct 14 '26 08:10 Kiritobl

@llvm/issue-subscribers-mlir

Author: Kirito (Kiritobl)

#### Version

LLVM/MLIR 24.0.0git, commit c275ebd64bf5b05e36a3a8e8b8daa32ba9a52aac (optimized build with assertions).

Bug Description

Observed failure: generic decomposition leads AffineFor fold to query a null Value. The input passes verification without the pass, but the command below crashes.

Likely Cause

Under --test-linalg-decompose-ops, an output-only linalg.generic whose result initializes an affine.for and whose linalg.index bounds that loop reaches AffineForOp::fold with a null SSA value. Scope/value analysis calls Value::getParentRegion or getParentBlock and asserts. The exact intermediate rewrite that first creates the null value is not established by the available trace; the reproducer and failure point are stable.

Steps to Reproduce

mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null

Reproducer (reproducer.mlir)

#map = affine_map&lt;(d0) -&gt; (d0)&gt;
module {
  func.func @<!-- -->f(%arg0: tensor&lt;?xf32&gt;) -&gt; tensor&lt;?xf32&gt; {
    %r = linalg.generic {indexing_maps = [#map], iterator_types = ["parallel"]} outs(%arg0 : tensor&lt;?xf32&gt;) {
    ^bb0(%out: f32):
      %a = arith.addf %out, %out : f32
      %idx = linalg.index 0 : index
      %loop = affine.for %iv = 0 to %idx iter_args(%carry = %a) -&gt; (f32) {
        affine.yield %a : f32
      }
      linalg.yield %loop : f32
    } -&gt; tensor&lt;?xf32&gt;
    return %r : tensor&lt;?xf32&gt;
  }
}

Stack Dump (full stderr)

mlir-opt: llvm/include/llvm/Support/Casting.h:644: decltype(auto) llvm::dyn_cast(const From&amp;) [with To = mlir::OpResult; From = mlir::Value]: Assertion `detail::isPresent(Val) &amp;&amp; "dyn_cast on a non-existent value"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0.	Program arguments: mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null
 #<!-- -->0 0x0000555fed18d699 llvm::sys::PrintStackTrace(llvm::raw_ostream&amp;, int) (mlir-opt+0x1fa0699)
 #<!-- -->1 0x0000555fed189e9c llvm::sys::RunSignalHandlers() (mlir-opt+0x1f9ce9c)
 #<!-- -->2 0x0000555fed18a006 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #<!-- -->3 0x00007f84ed725520 (libc.so.6+0x42520)
 #<!-- -->4 0x00007f84ed7799bc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #<!-- -->5 0x00007f84ed7799bc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #<!-- -->6 0x00007f84ed7799bc pthread_kill ./nptl/pthread_kill.c:89:10
 #<!-- -->7 0x00007f84ed725476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #<!-- -->8 0x00007f84ed70b7f3 abort ./stdlib/abort.c:81:7
 #<!-- -->9 0x00007f84ed70b71b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#<!-- -->10 0x00007f84ed71ce96 (libc.so.6+0x39e96)
#<!-- -->11 0x0000555ff5a3bfd9 (mlir-opt+0xa84efd9)
#<!-- -->12 0x0000555ff525943e mlir::affine::AffineForOp::fold(mlir::affine::AffineForOpGenericAdaptor&lt;llvm::ArrayRef&lt;mlir::Attribute&gt;&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa06c43e)
#<!-- -->13 0x0000555ff5259886 mlir::RegisteredOperationName::Model&lt;mlir::affine::AffineForOp&gt;::foldHook(mlir::Operation*, llvm::ArrayRef&lt;mlir::Attribute&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa06c886)
#<!-- -->14 0x0000555ff5a03e34 mlir::Operation::fold(llvm::ArrayRef&lt;mlir::Attribute&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa816e34)
#<!-- -->15 0x0000555ff5a042db mlir::Operation::fold(llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa8172db)
#<!-- -->16 0x0000555ff55ee421 (anonymous namespace)::GreedyPatternRewriteDriver::processWorklist() GreedyPatternRewriteDriver.cpp:0:0
#<!-- -->17 0x0000555ff55f2336 mlir::applyPatternsGreedily(mlir::Region&amp;, mlir::FrozenRewritePatternSet const&amp;, mlir::GreedyRewriteConfig, bool*) (mlir-opt+0xa405336)
#<!-- -->18 0x0000555fed2a3782 (anonymous namespace)::TestLinalgDecomposeOps::runOnOperation() TestLinalgDecomposeOps.cpp:0:0
#<!-- -->19 0x0000555ff568c449 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (mlir-opt+0xa49f449)
#<!-- -->20 0x0000555ff568c7b4 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&amp;, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (mlir-opt+0xa49f7b4)
#<!-- -->21 0x0000555ff568e6f2 mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) (mlir-opt+0xa4a16f2)
#<!-- -->22 0x0000555ff568f6c9 mlir::PassManager::run(mlir::Operation*) (mlir-opt+0xa4a26c9)
#<!-- -->23 0x0000555fed2539b3 performActions(llvm::raw_ostream&amp;, std::shared_ptr&lt;llvm::SourceMgr&gt; const&amp;, mlir::MLIRContext*, mlir::MlirOptMainConfig const&amp;) MlirOptMain.cpp:0:0
#<!-- -->24 0x0000555fed2542de processBuffer(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef, mlir::MlirOptMainConfig const&amp;, mlir::DialectRegistry&amp;, mlir::SourceMgrDiagnosticVerifierHandler*, llvm::ThreadPoolInterface*) MlirOptMain.cpp:0:0
#<!-- -->25 0x0000555fed254521 llvm::LogicalResult llvm::function_ref&lt;llvm::LogicalResult (std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;)&gt;::callback_fn&lt;mlir::MlirOptMain(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, mlir::DialectRegistry&amp;, mlir::MlirOptMainConfig const&amp;)::'lambda'(std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef, llvm::raw_ostream&amp;)&gt;(long, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;) MlirOptMain.cpp:0:0
#<!-- -->26 0x0000555ff5a5ea2d mlir::splitAndProcessBuffer(std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::function_ref&lt;llvm::LogicalResult (std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;)&gt;, llvm::raw_ostream&amp;, llvm::StringRef, llvm::StringRef) (mlir-opt+0xa871a2d)
#<!-- -->27 0x0000555fed24f2da mlir::MlirOptMain(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, mlir::DialectRegistry&amp;, mlir::MlirOptMainConfig const&amp;) (.part.0) MlirOptMain.cpp:0:0
#<!-- -->28 0x0000555fed254af8 mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&amp;) (mlir-opt+0x2067af8)
#<!-- -->29 0x0000555fed254d54 mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&amp;) (mlir-opt+0x2067d54)
#<!-- -->30 0x0000555fed1015cc main (mlir-opt+0x1f145cc)
#<!-- -->31 0x00007f84ed70cd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#<!-- -->32 0x00007f84ed70ce40 call_init ./csu/../csu/libc-start.c:128:20
#<!-- -->33 0x00007f84ed70ce40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#<!-- -->34 0x0000555fed16cf35 _start (mlir-opt+0x1f7ff35)

@llvm/issue-subscribers-mlir-linalg

Author: Kirito (Kiritobl)

#### Version

LLVM/MLIR 24.0.0git, commit c275ebd64bf5b05e36a3a8e8b8daa32ba9a52aac (optimized build with assertions).

Bug Description

Observed failure: generic decomposition leads AffineFor fold to query a null Value. The input passes verification without the pass, but the command below crashes.

Likely Cause

Under --test-linalg-decompose-ops, an output-only linalg.generic whose result initializes an affine.for and whose linalg.index bounds that loop reaches AffineForOp::fold with a null SSA value. Scope/value analysis calls Value::getParentRegion or getParentBlock and asserts. The exact intermediate rewrite that first creates the null value is not established by the available trace; the reproducer and failure point are stable.

Steps to Reproduce

mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null

Reproducer (reproducer.mlir)

#map = affine_map&lt;(d0) -&gt; (d0)&gt;
module {
  func.func @<!-- -->f(%arg0: tensor&lt;?xf32&gt;) -&gt; tensor&lt;?xf32&gt; {
    %r = linalg.generic {indexing_maps = [#map], iterator_types = ["parallel"]} outs(%arg0 : tensor&lt;?xf32&gt;) {
    ^bb0(%out: f32):
      %a = arith.addf %out, %out : f32
      %idx = linalg.index 0 : index
      %loop = affine.for %iv = 0 to %idx iter_args(%carry = %a) -&gt; (f32) {
        affine.yield %a : f32
      }
      linalg.yield %loop : f32
    } -&gt; tensor&lt;?xf32&gt;
    return %r : tensor&lt;?xf32&gt;
  }
}

Stack Dump (full stderr)

mlir-opt: llvm/include/llvm/Support/Casting.h:644: decltype(auto) llvm::dyn_cast(const From&amp;) [with To = mlir::OpResult; From = mlir::Value]: Assertion `detail::isPresent(Val) &amp;&amp; "dyn_cast on a non-existent value"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0.	Program arguments: mlir-opt --test-linalg-decompose-ops reproducer.mlir -o /dev/null
 #<!-- -->0 0x0000555fed18d699 llvm::sys::PrintStackTrace(llvm::raw_ostream&amp;, int) (mlir-opt+0x1fa0699)
 #<!-- -->1 0x0000555fed189e9c llvm::sys::RunSignalHandlers() (mlir-opt+0x1f9ce9c)
 #<!-- -->2 0x0000555fed18a006 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #<!-- -->3 0x00007f84ed725520 (libc.so.6+0x42520)
 #<!-- -->4 0x00007f84ed7799bc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #<!-- -->5 0x00007f84ed7799bc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #<!-- -->6 0x00007f84ed7799bc pthread_kill ./nptl/pthread_kill.c:89:10
 #<!-- -->7 0x00007f84ed725476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #<!-- -->8 0x00007f84ed70b7f3 abort ./stdlib/abort.c:81:7
 #<!-- -->9 0x00007f84ed70b71b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#<!-- -->10 0x00007f84ed71ce96 (libc.so.6+0x39e96)
#<!-- -->11 0x0000555ff5a3bfd9 (mlir-opt+0xa84efd9)
#<!-- -->12 0x0000555ff525943e mlir::affine::AffineForOp::fold(mlir::affine::AffineForOpGenericAdaptor&lt;llvm::ArrayRef&lt;mlir::Attribute&gt;&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa06c43e)
#<!-- -->13 0x0000555ff5259886 mlir::RegisteredOperationName::Model&lt;mlir::affine::AffineForOp&gt;::foldHook(mlir::Operation*, llvm::ArrayRef&lt;mlir::Attribute&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa06c886)
#<!-- -->14 0x0000555ff5a03e34 mlir::Operation::fold(llvm::ArrayRef&lt;mlir::Attribute&gt;, llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa816e34)
#<!-- -->15 0x0000555ff5a042db mlir::Operation::fold(llvm::SmallVectorImpl&lt;mlir::OpFoldResult&gt;&amp;) (mlir-opt+0xa8172db)
#<!-- -->16 0x0000555ff55ee421 (anonymous namespace)::GreedyPatternRewriteDriver::processWorklist() GreedyPatternRewriteDriver.cpp:0:0
#<!-- -->17 0x0000555ff55f2336 mlir::applyPatternsGreedily(mlir::Region&amp;, mlir::FrozenRewritePatternSet const&amp;, mlir::GreedyRewriteConfig, bool*) (mlir-opt+0xa405336)
#<!-- -->18 0x0000555fed2a3782 (anonymous namespace)::TestLinalgDecomposeOps::runOnOperation() TestLinalgDecomposeOps.cpp:0:0
#<!-- -->19 0x0000555ff568c449 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (mlir-opt+0xa49f449)
#<!-- -->20 0x0000555ff568c7b4 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&amp;, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (mlir-opt+0xa49f7b4)
#<!-- -->21 0x0000555ff568e6f2 mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) (mlir-opt+0xa4a16f2)
#<!-- -->22 0x0000555ff568f6c9 mlir::PassManager::run(mlir::Operation*) (mlir-opt+0xa4a26c9)
#<!-- -->23 0x0000555fed2539b3 performActions(llvm::raw_ostream&amp;, std::shared_ptr&lt;llvm::SourceMgr&gt; const&amp;, mlir::MLIRContext*, mlir::MlirOptMainConfig const&amp;) MlirOptMain.cpp:0:0
#<!-- -->24 0x0000555fed2542de processBuffer(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef, mlir::MlirOptMainConfig const&amp;, mlir::DialectRegistry&amp;, mlir::SourceMgrDiagnosticVerifierHandler*, llvm::ThreadPoolInterface*) MlirOptMain.cpp:0:0
#<!-- -->25 0x0000555fed254521 llvm::LogicalResult llvm::function_ref&lt;llvm::LogicalResult (std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;)&gt;::callback_fn&lt;mlir::MlirOptMain(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, mlir::DialectRegistry&amp;, mlir::MlirOptMainConfig const&amp;)::'lambda'(std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef, llvm::raw_ostream&amp;)&gt;(long, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;) MlirOptMain.cpp:0:0
#<!-- -->26 0x0000555ff5a5ea2d mlir::splitAndProcessBuffer(std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::function_ref&lt;llvm::LogicalResult (std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, llvm::MemoryBufferRef const&amp;, llvm::raw_ostream&amp;)&gt;, llvm::raw_ostream&amp;, llvm::StringRef, llvm::StringRef) (mlir-opt+0xa871a2d)
#<!-- -->27 0x0000555fed24f2da mlir::MlirOptMain(llvm::raw_ostream&amp;, std::unique_ptr&lt;llvm::MemoryBuffer, std::default_delete&lt;llvm::MemoryBuffer&gt;&gt;, mlir::DialectRegistry&amp;, mlir::MlirOptMainConfig const&amp;) (.part.0) MlirOptMain.cpp:0:0
#<!-- -->28 0x0000555fed254af8 mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&amp;) (mlir-opt+0x2067af8)
#<!-- -->29 0x0000555fed254d54 mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&amp;) (mlir-opt+0x2067d54)
#<!-- -->30 0x0000555fed1015cc main (mlir-opt+0x1f145cc)
#<!-- -->31 0x00007f84ed70cd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#<!-- -->32 0x00007f84ed70ce40 call_init ./csu/../csu/libc-start.c:128:20
#<!-- -->33 0x00007f84ed70ce40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#<!-- -->34 0x0000555fed16cf35 _start (mlir-opt+0x1f7ff35)