[llvm] [SLP][REVEC] Fix false assumption of the source for castToScalarTyElem. (PR #99424)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 05:14:16 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/2111
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/SLPVectorizer/revec-fix-99411.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -mtriple x86_64-unknown-linux-gnu -passes=slp-vectorizer -S /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -mtriple x86_64-unknown-linux-gnu -passes=slp-vectorizer -S /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to create target machine for 'x86_64-unknown-linux-gnu': unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll:7:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: store <2 x i64> zeroinitializer, ptr null, align 8
[0;1;32m ^
[0m[1m<stdin>:6:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0mentry:
[0;1;32m ^
[0m[1m<stdin>:7:19: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %0 = extractelement <1 x i64> zeroinitializer, i64 0
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget triple = "x86_64-unknown-linux-gnu" [0m
[0;1;30m 4: [0m[1m[0;1;46m [0m
[0;1;30m 5: [0m[1m[0;1;46mdefine void [0m at e([0;1;46m) { [0m
[0;1;32mlabel:5'0 ^~~
[0m[0;1;32mlabel:5'1 ^~~
[0m[0;1;30m 6: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:6 ^~~~~~
[0m[0;1;31mnext:7'0 X error: no match found
[0m[0;1;30m 7: [0m[1m[0;1;46m %0 = extractelement <1 x i64> zeroinitializer, i64 0 [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;35mnext:7'1 ? possible intended match
[0m[0;1;30m 8: [0m[1m[0;1;46m %bf.value = and i64 %0, 0 [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m %bf.set = or i64 0, %bf.value [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m store i64 %bf.set, ptr getelementptr inbounds (i8, ptr null, i64 8), align 8 [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m %bf.value2 = and i64 0, 0 [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46m %bf.set4 = or i64 0, %bf.value2 [0m
[0;1;31mnext:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
https://github.com/llvm/llvm-project/pull/99424
More information about the llvm-commits
mailing list