<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/111167>111167</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [MLIR][mlir-cpu-runner] Test failure: sgemm-naive-codegen.mlir with exit status 2
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sine-zhow
      </td>
    </tr>
</table>

<pre>
    The test MLIR :: mlir-cpu-runner/sgemm-naive-codegen.mlir fails with exit code 2. The failure appears during the execution of the mlir-cpu-runner tool, and the FileCheck command reports an error due to an empty stdin. The full stack trace and output are provided below.

Steps to Reproduce:
1. Build the project with MLIR enabled.
2. Run the mlir-cpu-runner test suite, specifically targeting sgemm-naive-codegen.mlir.
3. Observe the failure.


Error Output:
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
# | Stack dump:
# | 0.  Program arguments: /root/work/circt/llvm/build/bin/mlir-cpu-runner -O3 -e main -entry-point-result=void -shared-libs=/root/work/circt/llvm/build/lib/libmlir_c_runner_utils.so
# | #0 0x0000003001876230 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/root/work/circt/llvm/build/bin/mlir-cpu-runner+0x1876230)
# | #1 0x0000003001874220 llvm::sys::RunSignalHandlers() (/root/work/circt/llvm/build/bin/mlir-cpu-runner+0x1874220)
# | #2 0x0000003001876ce0 SignalHandler(int) Signals.cpp:0:0
# | #3 0x0000007885ba6860
# | #4 0x0000007885ba3254
# `-----------------------------
# error: command failed with exit status: -4

System Information:

Architecture: AArch64
OS: Linux
LLVM Version: 19
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVV1P4zgU_TXuy1Uix0nb8NAHoFQ7EiMQoHlFjn1JvDh25I9C99ev7GaGoTCr1e5EqtNeu-eee659zL1XvUHckOUFWW4X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