[llvm] PeepholeOpt: Do not add subregister indexes to reg_sequence operands (PR #124111)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 06:51:28 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-ubsan` running on `sanitizer-buildbot10` while building `llvm` at step 2 "annotate".

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

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

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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: 86210 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.
FAIL: LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll (31162 of 86210)
******************** TEST 'LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
RUN: at line 3: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3610:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s9
               ^
<stdin>:2961:2: note: 'next' match was here
 s_mov_b32 s10, s9
 ^
<stdin>:2959:11: note: previous match ended here
 ;;#ASMEND
          ^
<stdin>:2960:1: note: non-matching line after previous match is here
 s_mov_b32 s8, s9
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3684:20: error: GFX90APLUS-NEXT: expected string not found in input
; GFX90APLUS-NEXT: ; def s[8:9]
                   ^
<stdin>:3035:13: note: scanning from here
 ;;#ASMSTART
            ^
<stdin>:3036:2: note: possible intended match here
 ; def s[4:5]
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:4133:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s5
               ^
<stdin>:3512:2: note: 'next' match was here
 s_mov_b32 s10, s5
 ^
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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: 86210 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.
FAIL: LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll (31162 of 86210)
******************** TEST 'LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
RUN: at line 3: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3610:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s9
               ^
<stdin>:2961:2: note: 'next' match was here
 s_mov_b32 s10, s9
 ^
<stdin>:2959:11: note: previous match ended here
 ;;#ASMEND
          ^
<stdin>:2960:1: note: non-matching line after previous match is here
 s_mov_b32 s8, s9
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3684:20: error: GFX90APLUS-NEXT: expected string not found in input
; GFX90APLUS-NEXT: ; def s[8:9]
                   ^
<stdin>:3035:13: note: scanning from here
 ;;#ASMSTART
            ^
<stdin>:3036:2: note: possible intended match here
 ; def s[4:5]
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:4133:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s5
               ^
<stdin>:3512:2: note: 'next' match was here
 s_mov_b32 s10, s5
 ^
Step 13 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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: 83335 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.
FAIL: LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll (31147 of 83335)
******************** TEST 'LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
RUN: at line 3: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX90APLUS,GFX90A /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3610:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s9
               ^
<stdin>:2961:2: note: 'next' match was here
 s_mov_b32 s10, s9
 ^
<stdin>:2959:11: note: previous match ended here
 ;;#ASMEND
          ^
<stdin>:2960:1: note: non-matching line after previous match is here
 s_mov_b32 s8, s9
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:3684:20: error: GFX90APLUS-NEXT: expected string not found in input
; GFX90APLUS-NEXT: ; def s[8:9]
                   ^
<stdin>:3035:13: note: scanning from here
 ;;#ASMSTART
            ^
<stdin>:3036:2: note: possible intended match here
 ; def s[4:5]
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll:4133:16: error: GFX90A-NEXT: is not on the line after the previous match
; GFX90A-NEXT: s_mov_b32 s10, s5
               ^
<stdin>:3512:2: note: 'next' match was here
 s_mov_b32 s10, s5
 ^

```

</details>

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


More information about the llvm-commits mailing list