[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
Sun Jul 20 02:52:59 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64-flang-aix` running on `ppc64-flang-aix-test` while building `flang` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/201/builds/5467
<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-extract-elem-order.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/flang -fc1 -flang-experimental-hlfir -emit-llvm /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90 -fno-ppc-native-vector-element-order -triple ppc64le-unknown-linux -o - | /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/FileCheck --check-prefixes="LLVMIR" /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90 # RUN: at line 1
+ /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/flang -fc1 -flang-experimental-hlfir -emit-llvm /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90 -fno-ppc-native-vector-element-order -triple ppc64le-unknown-linux -o -
+ /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/FileCheck --check-prefixes=LLVMIR /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90:30:11: error: LLVMIR: expected string not found in input
! LLVMIR: %[[r:.*]] = extractelement <2 x i64> %[[arg1]], i8 %[[sub]]
^
<stdin>:20:19: note: scanning from here
%7 = sub i8 1, %6
^
<stdin>:20:19: note: with "arg1" equal to "4"
%7 = sub i8 1, %6
^
<stdin>:20:19: note: with "sub" equal to "7"
%7 = sub i8 1, %6
^
<stdin>:22:2: note: possible intended match here
%9 = extractelement <2 x i64> %4, i64 %8
^
Input file: <stdin>
Check file: /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/PowerPC/ppc-vec-extract-elem-order.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
15:
16: define void @vec_extract_testi8i1_(ptr %0, ptr %1, ptr %2) #0 {
17: %4 = load <2 x i64>, ptr %0, align 16
18: %5 = load i8, ptr %1, align 1
19: %6 = urem i8 %5, 2
20: %7 = sub i8 1, %6
check:30'0 X error: no match found
check:30'1 with "arg1" equal to "4"
check:30'2 with "sub" equal to "7"
21: %8 = zext i8 %7 to i64
check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~
22: %9 = extractelement <2 x i64> %4, i64 %8
check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:30'3 ? possible intended match
23: store i64 %9, ptr %2, align 8
check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/143272
More information about the flang-commits
mailing list