[llvm] [llvm][ARM]Add widen global arrays pass (PR #107120)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 04:25:52 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `llvm` at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/7199

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt < /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll -mtriple=arm-none-eabi -passes=globalopt -S | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt -mtriple=arm-none-eabi -passes=globalopt -S
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt: warning: failed to infer data layout: unable to get target for 'arm-unknown-none-eabi', see --version and --triple.
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt: WARNING: failed to create target machine for 'arm-unknown-none-eabi': unable to get target for 'arm-unknown-none-eabi', see --version and --triple.
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll:6:10: error: CHECK: expected string not found in input
; CHECK: [4 x i8]
         ^
<stdin>:5:46: note: scanning from here
@other = private unnamed_addr global [3 x i8] c"\01\02\03", align 1
                                             ^
<stdin>:6:38: note: possible intended match here
@.i8 = private unnamed_addr constant [3 x i8] c"\01\02\03", align 1
                                     ^
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll:12:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[SOMETHING:%.*]] = alloca [4 x i8], align 1
              ^
<stdin>:9:7: note: scanning from here
entry:
      ^
<stdin>:10:7: note: possible intended match here
 %something = alloca [3 x i8], align 1
      ^

Input file: <stdin>
Check file: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-global-dest.ll

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

Input was:
<<<<<<
           1: ; ModuleID = '<stdin>' 
           2: source_filename = "<stdin>" 
           3: target triple = "arm-unknown-none-eabi" 
           4:  
           5: @other = private unnamed_addr global [3 x i8] c"\01\02\03", align 1 
check:6'0                                                  X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           6: @.i8 = private unnamed_addr constant [3 x i8] c"\01\02\03", align 1 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:6'1                                          ?                               possible intended match
           7:  
check:6'0     ~
           8: define void @memcpy_multiple() local_unnamed_addr { 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           9: entry: 
...

```

</details>

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


More information about the llvm-commits mailing list