[flang-commits] [flang] [flang] Set low probability for array repacking code. (PR #144830)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Thu Jun 19 12:45:12 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/31266

<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 :: Integration/cold_array_repacking.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 -frepack-arrays -emit-llvm /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Integration/cold_array_repacking.f90 -o - | /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/Integration/cold_array_repacking.f90 # RUN: at line 3
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/flang -fc1 -frepack-arrays -emit-llvm /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Integration/cold_array_repacking.f90 -o -
+ /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/Integration/cold_array_repacking.f90
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Integration/cold_array_repacking.f90:6:15: error: CHECK-SAME: expected string not found in input
! CHECK-SAME: ptr [[TMP0:%.*]]) {
              ^
<stdin>:14:20: note: scanning from here
define void @test_(ptr %0) #0 {
                   ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/test/Integration/cold_array_repacking.f90

-dump-input=help explains the following input dump.

Input was:
<<<<<<
        .
        .
        .
        9:  
       10: declare void @free(ptr) 
       11:  
       12: declare ptr @malloc(i64) 
       13:  
       14: define void @test_(ptr %0) #0 { 
same:6                        X~~~~~~~~~~~~ error: no match found
       15:  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8 
same:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16:  %3 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8 
same:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17:  %4 = ptrtoint ptr %0 to i64 
same:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       18:  %5 = icmp ne i64 %4, 0 
same:6     ~~~~~~~~~~~~~~~~~~~~~~~~
       19:  br i1 %5, label %6, label %46 
same:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        .
        .
        .
>>>>>>

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/144830


More information about the flang-commits mailing list