[llvm] [tools][llc] Add `--save-stats` option (PR #163967)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 9 04:23:08 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/16966

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llc/save-stats.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llc -mtriple=arm64-apple-macosx --save-stats=obj -o /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/test/tools/llc/Output/save-stats.ll.tmp.s /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/tools/llc/save-stats.ll && cat /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/test/tools/llc/Output/save-stats.ll.tmp.stats | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/tools/llc/save-stats.ll
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llc -mtriple=arm64-apple-macosx --save-stats=obj -o /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/test/tools/llc/Output/save-stats.ll.tmp.s /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/tools/llc/save-stats.ll
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llc: error: unable to get target for 'arm64-apple-macosx', see --version and --triple.
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

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


More information about the llvm-commits mailing list