[llvm] [SLP][REVEC] Support more mask pattern usage in shufflevector. (PR #106212)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 06:37:38 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/6060
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/SLPVectorizer/revec.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -passes=slp-vectorizer -S -slp-revec -slp-max-reg-size=1024 -slp-threshold=-100 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -passes=slp-vectorizer -S -slp-revec -slp-max-reg-size=1024 -slp-threshold=-100 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll:307:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[TMP4:%.*]] = shufflevector <32 x i8> [[TMP3]], <32 x i8> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
[0;1;32m ^
[0m[1m<stdin>:158:300: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %3 = shufflevector <32 x i8> %2, <32 x i8> poison, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
[0;1;32m ^
[0m[1m<stdin>:158:300: [0m[0;1;30mnote: [0m[1mwith "TMP3" equal to "%3"
[0m %3 = shufflevector <32 x i8> %2, <32 x i8> poison, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
[0;1;32m ^
[0m[1m<stdin>:159:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %4 = shufflevector <32 x i8> %2, <32 x i8> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/SLPVectorizer/revec.ll" [0m
[0;1;30m 3: [0m[1m[0;1;46m [0m
[0;1;30m 4: [0m[1m[0;1;46mdefine void [0m at test1([0;1;46mptr %a, ptr %b, ptr %c) { [0m
[0;1;32mlabel:5'0 ^~~~~~~
[0m[0;1;32mlabel:5'1 ^~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:6 ^~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46m [0m%0 = load <16 x i32>, ptr %a, align 4[0;1;46m [0m
[0;1;32mnext:7'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:7'1 ^~ captured var "TMP0"
[0m[0;1;32mnext:7'2 ^~ captured var "A"
[0m[0;1;30m 7: [0m[1m[0;1;46m [0m%1 = load <16 x i32>, ptr %b, align 4[0;1;46m [0m
[0;1;32mnext:8'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:8'1 ^~ captured var "TMP1"
[0m[0;1;32mnext:8'2 ^~ captured var "B"
[0m[0;1;30m 8: [0m[1m[0;1;46m [0m%2 = add <16 x i32> %1, %0[0;1;46m [0m
[0;1;32mnext:9'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:9'1 with "TMP1" equal to "%1"
[0m[0;1;32mnext:9'2 with "TMP0" equal to "%0"
[0m[0;1;32mnext:9'3 ^~ captured var "TMP2"
[0m[0;1;30m 9: [0m[1m[0;1;46m [0mstore <16 x i32> %2, ptr %c, align 4[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/106212
More information about the llvm-commits
mailing list