[llvm] [CodeGen] Introduce Static Data Splitter pass (PR #122183)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 04:05:22 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-with-thin-lto-ubuntu` running on `as-worker-92` while building `llvm` at step 7 "test-stage1-compiler".

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

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

```
Step 7 (test-stage1-compiler) failure: build (failure)
...
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/wasm-ld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/lld-link
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/wasm-ld
-- Testing: 83208 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.
FAIL: LLVM :: CodeGen/X86/jump-table-partition.ll (47951 of 83208)
******************** TEST 'LLVM :: CodeGen/X86/jump-table-partition.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 6: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc -stop-after=finalize-isel -min-jump-table-entries=2 /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/X86/jump-table-partition.ll -o /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir
+ /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc -stop-after=finalize-isel -min-jump-table-entries=2 /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/X86/jump-table-partition.ll -o /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir
RUN: at line 7: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc --run-pass=static-data-splitter -stats -x mir /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir -o - 2>&1 | /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/FileCheck /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/X86/jump-table-partition.ll --check-prefix=STAT
+ /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc --run-pass=static-data-splitter -stats -x mir /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir -o -
+ /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/FileCheck /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/X86/jump-table-partition.ll --check-prefix=STAT
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/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:67: note: possible intended match here
 ; ModuleID = '/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir'
                                                                  ^

Input file: <stdin>
Check file: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/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 = '/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/test/CodeGen/X86/Output/jump-table-partition.ll.tmp.mir' 
dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dag:13'1                                                                       ?                                                                          possible intended match
          3:  source_filename = "/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/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" 
dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5:  target triple = "x86_64-unknown-linux-gnu" 
dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

</details>

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


More information about the llvm-commits mailing list