[clang] [llvm] [LLVM][IR] Use splat syntax when printing Constant[Data]Vector. (PR #112548)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 6 03:59:13 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while building `clang,llvm,mlir` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/12026
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/PowerPC/ppc-vec-cmp.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/flang -fc1 -flang-experimental-hlfir -emit-llvm /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90 -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/FileCheck --check-prefixes="LLVMIR" /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/flang -fc1 -flang-experimental-hlfir -emit-llvm /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90 -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/FileCheck --check-prefixes=LLVMIR /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90:17:11: error: LLVMIR: expected string not found in input
! LLVMIR: %{{[0-9]+}} = xor <2 x i64> %[[res]], <i64 -1, i64 -1>
^
<stdin>:10:76: note: scanning from here
%6 = call <2 x i64> @llvm.ppc.altivec.vcmpgtsd(<2 x i64> %5, <2 x i64> %4)
^
<stdin>:10:76: note: with "res" equal to "6"
%6 = call <2 x i64> @llvm.ppc.altivec.vcmpgtsd(<2 x i64> %5, <2 x i64> %4)
^
<stdin>:11:2: note: possible intended match here
%7 = xor <2 x i64> %6, splat (i64 -1)
^
Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-cmp.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
5:
6: define void @vec_cmpge_test_i8_(ptr %0, ptr %1) #0 {
7: %3 = alloca <2 x i64>, i64 1, align 16
8: %4 = load <2 x i64>, ptr %0, align 16
9: %5 = load <2 x i64>, ptr %1, align 16
10: %6 = call <2 x i64> @llvm.ppc.altivec.vcmpgtsd(<2 x i64> %5, <2 x i64> %4)
check:17'0 X error: no match found
check:17'1 with "res" equal to "6"
11: %7 = xor <2 x i64> %6, splat (i64 -1)
check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:17'2 ? possible intended match
12: store <2 x i64> %7, ptr %3, align 16
check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13: ret void
check:17'0 ~~~~~~~~~~
14: }
check:17'0 ~~
15:
check:17'0 ~
...
```
</details>
https://github.com/llvm/llvm-project/pull/112548
More information about the cfe-commits
mailing list