[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:27:45 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `llvm` at step 4 "clean-build-dir".

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

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

```
Step 4 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llc/save-stats.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
z:\b\llvm-clang-x86_64-sie-win\build\bin\llc.exe -mtriple=arm64-apple-macosx --save-stats=obj -o Z:\b\llvm-clang-x86_64-sie-win\build\test\tools\llc\Output\save-stats.ll.tmp.s Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llc\save-stats.ll && cat Z:\b\llvm-clang-x86_64-sie-win\build\test\tools\llc\Output\save-stats.ll.tmp.stats | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llc\save-stats.ll
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\llc.exe' -mtriple=arm64-apple-macosx --save-stats=obj -o 'Z:\b\llvm-clang-x86_64-sie-win\build\test\tools\llc\Output\save-stats.ll.tmp.s' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llc\save-stats.ll'
# .---command stderr------------
# | z:\b\llvm-clang-x86_64-sie-win\build\bin\llc.exe: 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