[clang] [clang-tools-extra] [lld] [lldb] [llvm] [ADT] Deprecate StringSwitch Cases with 3+ args. NFC. (PR #165119)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 25 19:19:36 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` running on `windows-gcebot2` while building `clang-tools-extra,clang,lld,lldb,llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/clang-windows.py ...' (failure)
...
  Passed           : 72545 (98.94%)
  Expectedly Failed:    36 (0.05%)
[1365/1366] Running the LLVM regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\wasm-ld.exe
-- Testing: 61160 tests, 32 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test (57300 of 61160, 3 of 3 attempts)
******************** TEST 'LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\llvm-exegesis.exe -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput --opcode-name=PseudoVNCLIPU_WX_M1_MASK     --riscv-filter-config='vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10 | c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\llvm-exegesis.exe' -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput --opcode-name=PseudoVNCLIPU_WX_M1_MASK '--riscv-filter-config=vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10
# .---command stderr------------
# | PseudoVNCLIPU_WX_M1_MASK: Failed to produce any snippet via: instruction has tied variables, avoiding Read-After-Write issue, picking random def and use registers not aliasing each other, for uses, one unique register for each position
# `-----------------------------
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test
# `-----------------------------
# error: command failed with exit status: 2

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test


Testing Time: 400.27s

Total Discovered Tests: 70217
  Skipped          :    26 (0.04%)
  Unsupported      :  1389 (1.98%)
  Passed           : 68604 (97.70%)
  Expectedly Failed:   197 (0.28%)
  Failed           :     1 (0.00%)
FAILED: test/CMakeFiles/check-llvm C:/b/slave/clang-x64-windows-msvc/build/stage2/test/CMakeFiles/check-llvm 
cmd.exe /C "cd /D C:\b\slave\clang-x64-windows-msvc\build\stage2\test && C:\Python39\python.exe C:/b/slave/clang-x64-windows-msvc/build/stage2/./bin/llvm-lit.py -sv -j 32 C:/b/slave/clang-x64-windows-msvc/build/stage2/test"
ninja: build stopped: subcommand failed.
Step 12 (stage 2 check) failure: stage 2 check (failure)
...
  Passed           : 72545 (98.94%)
  Expectedly Failed:    36 (0.05%)
[1365/1366] Running the LLVM regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:531: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\wasm-ld.exe
-- Testing: 61160 tests, 32 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test (57300 of 61160, 3 of 3 attempts)
******************** TEST 'LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\llvm-exegesis.exe -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput --opcode-name=PseudoVNCLIPU_WX_M1_MASK     --riscv-filter-config='vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10 | c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\llvm-exegesis.exe' -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput --opcode-name=PseudoVNCLIPU_WX_M1_MASK '--riscv-filter-config=vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10
# .---command stderr------------
# | PseudoVNCLIPU_WX_M1_MASK: Failed to produce any snippet via: instruction has tied variables, avoiding Read-After-Write issue, picking random def and use registers not aliasing each other, for uses, one unique register for each position
# `-----------------------------
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\b\slave\clang-x64-windows-msvc\build\stage2\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\tools\llvm-exegesis\RISCV\rvv\filter.test
# `-----------------------------
# error: command failed with exit status: 2

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  LLVM :: tools/llvm-exegesis/RISCV/rvv/filter.test


Testing Time: 400.27s

Total Discovered Tests: 70217
  Skipped          :    26 (0.04%)
  Unsupported      :  1389 (1.98%)
  Passed           : 68604 (97.70%)
  Expectedly Failed:   197 (0.28%)
  Failed           :     1 (0.00%)
FAILED: test/CMakeFiles/check-llvm C:/b/slave/clang-x64-windows-msvc/build/stage2/test/CMakeFiles/check-llvm 
cmd.exe /C "cd /D C:\b\slave\clang-x64-windows-msvc\build\stage2\test && C:\Python39\python.exe C:/b/slave/clang-x64-windows-msvc/build/stage2/./bin/llvm-lit.py -sv -j 32 C:/b/slave/clang-x64-windows-msvc/build/stage2/test"
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the llvm-commits mailing list