[llvm] [utils][UpdateLLCTestChecks] Add MIR support to update_llc_test_checks.py. (PR #164965)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 5 04:47:31 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/30350
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/UpdateTestChecks/update_llc_test_checks/x86-asm-mir-same-prefix.test' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
cp -f /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_asm_mir_same_prefix.ll /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86-asm-mir-same-prefix.test.tmp.ll && '/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9' /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/llc --version=1 /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86-asm-mir-same-prefix.test.tmp.ll 2>&1 | /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-asm-mir-same-prefix.test --check-prefix=WARNING
# executed command: cp -f /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_asm_mir_same_prefix.ll /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86-asm-mir-same-prefix.test.tmp.ll
# note: command had no output on stdout or stderr
# executed command: /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/llc --version=1 /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86-asm-mir-same-prefix.test.tmp.ll
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-asm-mir-same-prefix.test --check-prefix=WARNING
# .---command stderr------------
# | /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-asm-mir-same-prefix.test:7:12: error: WARNING: expected string not found in input
# | # WARNING: WARNING: The following prefixes are used for both ASM and MIR output, which will cause FileCheck failures: CHECK
# | ^
# | <stdin>:1:1: note: scanning from here
# | /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/llc: error: unable to get target for 'x86_64', see --version and --triple.
# | ^
# |
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-asm-mir-same-prefix.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/llc: error: unable to get target for 'x86_64', see --version and --triple.
# | check:7 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Error: Failed to update test /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86-asm-mir-same-prefix.test.tmp.ll
# | check:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: Traceback (most recent call last):
# | check:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: File "/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/utils/update_llc_test_checks.py", line 373, in main
# | check:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: update_test(ti)
# | check:7 ~~~~~~~~~~~~~~~~~
# | 6: File "/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/utils/update_llc_test_checks.py", line 145, in update_test
# | check:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/164965
More information about the llvm-commits
mailing list