[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 01:44:19 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".

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

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

```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/simple_early_exit.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/opt -S < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll -p loop-vectorize -enable-early-exit-vectorization | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
+ /b/1/llvm-x86_64-debian-dylib/build/bin/opt -S -p loop-vectorize -enable-early-exit-vectorization
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll --check-prefixes=CHECK
/b/1/llvm-x86_64-debian-dylib/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)
                                ^
/b/1/llvm-x86_64-debian-dylib/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]+]]}
           ^
/b/1/llvm-x86_64-debian-dylib/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: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll

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

Input was:
<<<<<<
             .
             .
             .
           175:  %10 = getelementptr inbounds i32, ptr %9, i32 0 
           176:  %wide.load = load <4 x i32>, ptr %10, align 4 
           177:  %11 = getelementptr inbounds i32, ptr %p2, i64 %8 
           178:  %12 = getelementptr inbounds i32, ptr %11, i32 0 
           179:  %wide.load2 = load <4 x i32>, ptr %12, align 4 
           180:  %13 = icmp eq <4 x i32> %wide.load, %wide.load2 
next:304'0                                                      X error: no match found
next:304'1                                                        with "TMP13" equal to "%13"
           181:  %index.next = add nuw i64 %index, 4 
next:304'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list