[flang-commits] [clang] [flang] [flang] Add -f[no-]unroll-loops flag (PR #122906)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Wed Jan 15 23:00:25 PST 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 `clang,flang` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/17336
<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 :: HLFIR/unroll-loops.fir' 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 -emit-llvm -O1 -funroll-loops -mllvm -force-vector-width=2 -o- /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir | /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir --check-prefixes=CHECK,UNROLL
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/flang -fc1 -emit-llvm -O1 -funroll-loops -mllvm -force-vector-width=2 -o- /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir --check-prefixes=CHECK,UNROLL
warning: overriding the module target triple with powerpc64le-unknown-linux-gnu [-Woverride-module]
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir:26:18: error: UNROLL-NEXT: is not on the line after the previous match
// UNROLL-NEXT: %[[GEP0:.*]] = getelementptr i64, ptr %[[ARG0]], i64 %[[IND]]
^
<stdin>:21:2: note: 'next' match was here
%1 = getelementptr i64, ptr %0, i64 %index
^
<stdin>:14:51: note: previous match ended here
%step.add = add <2 x i64> %vec.ind, splat (i64 2)
^
<stdin>:15:1: note: non-matching line after previous match is here
%step.add.2 = add <2 x i64> %vec.ind, splat (i64 4)
^
Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/HLFIR/unroll-loops.fir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
16: %step.add.3 = add <2 x i64> %vec.ind, splat (i64 6)
17: %step.add.4 = add <2 x i64> %vec.ind, splat (i64 8)
18: %step.add.5 = add <2 x i64> %vec.ind, splat (i64 10)
19: %step.add.6 = add <2 x i64> %vec.ind, splat (i64 12)
20: %step.add.7 = add <2 x i64> %vec.ind, splat (i64 14)
21: %1 = getelementptr i64, ptr %0, i64 %index
next:26 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
22: %2 = getelementptr i8, ptr %1, i64 16
23: %3 = getelementptr i8, ptr %1, i64 32
24: %4 = getelementptr i8, ptr %1, i64 48
25: %5 = getelementptr i8, ptr %1, i64 64
26: %6 = getelementptr i8, ptr %1, i64 80
.
.
.
>>>>>>
--
...
```
</details>
https://github.com/llvm/llvm-project/pull/122906
More information about the flang-commits
mailing list