[llvm] [CodeGen] Introduce Static Data Splitter pass (PR #122183)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 01:34:32 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` running on `windows-gcebot2` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/63/builds/3635
<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 : 46032 (99.22%)
Expectedly Failed: 37 (0.08%)
[193/194] 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:506: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 57182 tests, 32 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM :: CodeGen/X86/jump-table-partition.ll (56030 of 57182)
******************** TEST 'LLVM :: CodeGen/X86/jump-table-partition.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe -stop-after=finalize-isel -min-jump-table-entries=2 C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll -o C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe' -stop-after=finalize-isel -min-jump-table-entries=2 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll' -o 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# RUN: at line 7
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe --run-pass=static-data-splitter -stats -x mir C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir -o - 2>&1 | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll --check-prefix=STAT
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe' --run-pass=static-data-splitter -stats -x mir 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir' -o -
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll' --check-prefix=STAT
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll:13:13: error: STAT-DAG: expected string not found in input
# | ; STAT-DAG: 2 static-data-splitter - Number of cold jump tables seen
# | ^
# | <stdin>:1:1: note: scanning from here
# | --- |
# | ^
# | <stdin>:2:46: note: possible intended match here
# | ; ModuleID = 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: --- |
# | dag:13'0 X~~~~~ error: no match found
# | 2: ; ModuleID = 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# | dag:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:13'1 ? possible intended match
# | 3: source_filename = "C:\\b\\slave\\clang-x64-windows-msvc\\llvm-project\\llvm\\test\\CodeGen\\X86\\jump-table-partition.ll"
# | dag:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
Step 8 (stage 1 check) failure: stage 1 check (failure)
...
Passed : 46032 (99.22%)
Expectedly Failed: 37 (0.08%)
[193/194] 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:506: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 57182 tests, 32 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM :: CodeGen/X86/jump-table-partition.ll (56030 of 57182)
******************** TEST 'LLVM :: CodeGen/X86/jump-table-partition.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe -stop-after=finalize-isel -min-jump-table-entries=2 C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll -o C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe' -stop-after=finalize-isel -min-jump-table-entries=2 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll' -o 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# RUN: at line 7
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe --run-pass=static-data-splitter -stats -x mir C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir -o - 2>&1 | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll --check-prefix=STAT
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe' --run-pass=static-data-splitter -stats -x mir 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir' -o -
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll' --check-prefix=STAT
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll:13:13: error: STAT-DAG: expected string not found in input
# | ; STAT-DAG: 2 static-data-splitter - Number of cold jump tables seen
# | ^
# | <stdin>:1:1: note: scanning from here
# | --- |
# | ^
# | <stdin>:2:46: note: possible intended match here
# | ; ModuleID = 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\X86\jump-table-partition.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: --- |
# | dag:13'0 X~~~~~ error: no match found
# | 2: ; ModuleID = 'C:\b\slave\clang-x64-windows-msvc\build\stage1\test\CodeGen\X86\Output\jump-table-partition.ll.tmp.mir'
# | dag:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:13'1 ? possible intended match
# | 3: source_filename = "C:\\b\\slave\\clang-x64-windows-msvc\\llvm-project\\llvm\\test\\CodeGen\\X86\\jump-table-partition.ll"
# | dag:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
```
</details>
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list