[llvm] [LoopVectorize] Enable more early exit vectorisation tests (PR #117008)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 02:22:14 PST 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/6556

<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-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/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: 87942 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll (71784 of 87942)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll -p loop-vectorize -enable-early-exit-vectorization | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -S -p loop-vectorize -enable-early-exit-vectorization
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP14:%.*]] = xor <4 x i1> [[TMP13]], splat (i1 true)
              ^
<stdin>:180:49: note: scanning from here
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:180:49: note: with "TMP13" equal to "%13"
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:182:33: note: possible intended match here
 %14 = call i1 @llvm.vector.reduce.or.v4i1(<4 x i1> %13)
                                ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:12: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
           ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:35: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
                                  ^
<stdin>:267:2: note: possible intended match here
!0 = distinct !{!0, !1, !2}
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
Step 10 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/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: 87942 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll (71784 of 87942)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll -p loop-vectorize -enable-early-exit-vectorization | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -S -p loop-vectorize -enable-early-exit-vectorization
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP14:%.*]] = xor <4 x i1> [[TMP13]], splat (i1 true)
              ^
<stdin>:180:49: note: scanning from here
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:180:49: note: with "TMP13" equal to "%13"
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:182:33: note: possible intended match here
 %14 = call i1 @llvm.vector.reduce.or.v4i1(<4 x i1> %13)
                                ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:12: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
           ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:35: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
                                  ^
<stdin>:267:2: note: possible intended match here
!0 = distinct !{!0, !1, !2}
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
Step 13 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/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: 87940 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll (66553 of 87940)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll -p loop-vectorize -enable-early-exit-vectorization | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt -S -p loop-vectorize -enable-early-exit-vectorization
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP14:%.*]] = xor <4 x i1> [[TMP13]], splat (i1 true)
              ^
<stdin>:180:49: note: scanning from here
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:180:49: note: with "TMP13" equal to "%13"
 %13 = icmp eq <4 x i32> %wide.load, %wide.load2
                                                ^
<stdin>:182:33: note: possible intended match here
 %14 = call i1 @llvm.vector.reduce.or.v4i1(<4 x i1> %13)
                                ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:12: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
           ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll:422:35: error: undefined variable: LOOP0
; CHECK: [[LOOP0]] = distinct !{[[LOOP0]], [[META1:![0-9]+]], [[META2:![0-9]+]]}
                                  ^
<stdin>:267:2: note: possible intended match here
!0 = distinct !{!0, !1, !2}
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .

```

</details>

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


More information about the llvm-commits mailing list