[flang-commits] [flang] [mlir] [Flang] Implement !$omp unroll using omp.unroll_heuristic (PR #144785)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Tue Jul 22 03:31:11 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `flang` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/38911
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Flang :: Lower/OpenMP/unroll-heuristic02.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/build/buildbot/premerge-monolithic-linux/build/bin/flang -fc1 -emit-hlfir -fopenmp -fopenmp-version=51 -o - /build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90 2>&1 | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90 # RUN: at line 1
+ /build/buildbot/premerge-monolithic-linux/build/bin/flang -fc1 -emit-hlfir -fopenmp -fopenmp-version=51 -o - /build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90
/build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90:23:14: error: CHECK-NEXT: expected string not found in input
!CHECK-NEXT: %18 = arith.cmpi slt, %17, %c0_i32 : i32
^
<stdin>:25:34: note: scanning from here
%c1_i32 = arith.constant 1 : i32
^
<stdin>:26:2: note: possible intended match here
%20 = arith.cmpi slt, %19, %c0_i32 : i32
^
Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/flang/test/Lower/OpenMP/unroll-heuristic02.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
20: %16:2 = hlfir.declare %15 {uniq_name = "_QFomp_unroll_heuristic_nested02Ej"} : (!fir.ref<i32>) -> (!fir.ref<i32>, !fir.ref<i32>)
21: %17 = fir.load %9#0 : !fir.ref<i32>
22: %18 = fir.load %10#0 : !fir.ref<i32>
23: %19 = fir.load %8#0 : !fir.ref<i32>
24: %c0_i32 = arith.constant 0 : i32
25: %c1_i32 = arith.constant 1 : i32
next:23'0 X error: no match found
26: %20 = arith.cmpi slt, %19, %c0_i32 : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:23'1 ? possible intended match
27: %21 = arith.subi %c0_i32, %19 : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28: %22 = arith.select %20, %21, %19 : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29: %23 = arith.select %20, %18, %17 : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30: %24 = arith.select %20, %17, %18 : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31: %25 = arith.subi %24, %23 overflow<nuw> : i32
next:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
...
```
</details>
https://github.com/llvm/llvm-project/pull/144785
More information about the flang-commits
mailing list