[flang-commits] [flang] [mlir][Flang][NFC] Replace use of `vector.insertelement/extractelement` (PR #143272)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Sat Jul 19 05:33:59 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while building `flang` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/34311
<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-splat-elem-order.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/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-splat-elem-order.f90 -fno-ppc-native-vector-element-order -triple ppc64le-unknown-linux -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-splat-elem-order.f90 # RUN: at line 1
+ /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-splat-elem-order.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-splat-elem-order.f90 -fno-ppc-native-vector-element-order -triple ppc64le-unknown-linux -o -
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-splat-elem-order.f90:22:11: error: LLVMIR: expected string not found in input
! LLVMIR: %[[ele:.*]] = extractelement <16 x i8> %[[x]], i16 15
^
<stdin>:18:39: note: scanning from here
%3 = load <16 x i8>, ptr %0, align 16
^
<stdin>:18:39: note: with "x" equal to "3"
%3 = load <16 x i8>, ptr %0, align 16
^
<stdin>:19:2: note: possible intended match here
%4 = extractelement <16 x i8> %3, i64 15
^
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-splat-elem-order.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
13: ret void
14: }
15:
16: define void @vec_splat_testu8i16_(ptr %0) #0 {
17: %2 = alloca <16 x i8>, i64 1, align 16
18: %3 = load <16 x i8>, ptr %0, align 16
check:22'0 X error: no match found
check:22'1 with "x" equal to "3"
19: %4 = extractelement <16 x i8> %3, i64 15
check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:22'2 ? possible intended match
20: %5 = insertelement <16 x i8> poison, i8 %4, i32 0
check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: %6 = shufflevector <16 x i8> %5, <16 x i8> poison, <16 x i32> zeroinitializer
check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22: store <16 x i8> %6, ptr %2, align 16
check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23: ret void
check:22'0 ~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/143272
More information about the flang-commits
mailing list