[llvm] [llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (PR #100301)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 2 05:33:03 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/1762
Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 84812 of 84813 tests, 88 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir (84775 of 84812)
******************** TEST 'LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs 2>&1 -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir:9:15: error: CHECK-NEXT: is not on the line after the previous match
# CHECK-NEXT: Cycle [[CycleNum:[0-9]+]] [[[StageNum:S.[0-9]+]]]: {{%[0-9]+}}:hvxvr = V6_vaddw {{%[0-9]+}}:hvxvr, {{%[0-9]+}}:hvxvr
^
<stdin>:1003:2: note: 'next' match was here
Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
^
<stdin>:1000:42: note: previous match ended here
Best window offset is 6 and Best II is 2.
^
<stdin>:1001:1: note: non-matching line after previous match is here
Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
^
Input file: <stdin>
Check file: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
998: Current window Offset is 9 and II is 4.
999:
1000: Best window offset is 6 and Best II is 2.
1001: Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
1002: Cycle 0 [S.0]: %17:hvxvr, %14:intregs = V6_vL32b_pi %13:intregs(tied-def 1), 128 :: (load (s1024) from %ir.lsr.iv1)
1003: Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
next:9 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
Step 9 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 84812 of 84813 tests, 88 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir (84775 of 84812)
******************** TEST 'LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs 2>&1 -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir:9:15: error: CHECK-NEXT: is not on the line after the previous match
# CHECK-NEXT: Cycle [[CycleNum:[0-9]+]] [[[StageNum:S.[0-9]+]]]: {{%[0-9]+}}:hvxvr = V6_vaddw {{%[0-9]+}}:hvxvr, {{%[0-9]+}}:hvxvr
^
<stdin>:1003:2: note: 'next' match was here
Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
^
<stdin>:1000:42: note: previous match ended here
Best window offset is 6 and Best II is 2.
^
<stdin>:1001:1: note: non-matching line after previous match is here
Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
^
Input file: <stdin>
Check file: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
998: Current window Offset is 9 and II is 4.
999:
1000: Best window offset is 6 and Best II is 2.
1001: Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
1002: Cycle 0 [S.0]: %17:hvxvr, %14:intregs = V6_vL32b_pi %13:intregs(tied-def 1), 128 :: (load (s1024) from %ir.lsr.iv1)
1003: Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
next:9 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
Step 12 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 84811 tests, 88 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir (84757 of 84811)
******************** TEST 'LLVM :: CodeGen/Hexagon/swp-ws-resource-reserve.mir' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs 2>&1 -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc --march=hexagon /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir -run-pass=pipeliner -debug-only=pipeliner -window-sched=force -filetype=null -verify-machineinstrs -window-search-ratio=100 -window-search-num=100 -window-diff-limit=1
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir:9:15: error: CHECK-NEXT: is not on the line after the previous match
# CHECK-NEXT: Cycle [[CycleNum:[0-9]+]] [[[StageNum:S.[0-9]+]]]: {{%[0-9]+}}:hvxvr = V6_vaddw {{%[0-9]+}}:hvxvr, {{%[0-9]+}}:hvxvr
^
<stdin>:1003:2: note: 'next' match was here
Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
^
<stdin>:1000:42: note: previous match ended here
Best window offset is 6 and Best II is 2.
^
<stdin>:1001:1: note: non-matching line after previous match is here
Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
^
Input file: <stdin>
Check file: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
998: Current window Offset is 9 and II is 4.
999:
1000: Best window offset is 6 and Best II is 2.
1001: Cycle 0 [S.0]: %13:intregs = PHI %1:intregs, %bb.1, %14:intregs, %bb.3
1002: Cycle 0 [S.0]: %17:hvxvr, %14:intregs = V6_vL32b_pi %13:intregs(tied-def 1), 128 :: (load (s1024) from %ir.lsr.iv1)
1003: Cycle 0 [S.1]: %21:hvxvr = V6_vaddw %18:hvxvr, %19:hvxvr
next:9 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
```
https://github.com/llvm/llvm-project/pull/100301
More information about the llvm-commits
mailing list