[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:07:21 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[662/663] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 55770 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll (40833 of 55770)
******************** TEST 'LLVM :: Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll -mtriple=arm-none-eabi -passes=globalopt -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -mtriple=arm-none-eabi -passes=globalopt -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: warning: failed to infer data layout: unable to get target for 'arm-unknown-none-eabi', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/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.
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll:9:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[SOMETHING1:%.*]] = alloca [6 x i16], align 1
              ^
<stdin>:8:7: note: scanning from here
entry:
      ^
<stdin>:9:7: note: possible intended match here
 %something = alloca [5 x i16], align 1
      ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.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: @.i16 = private unnamed_addr constant [5 x i16] [i16 1, i16 2, i16 3, i16 4, i16 5], align 1 
          6:  
          7: define void @memcpy_i16_array() local_unnamed_addr { 
          8: entry: 
next:9'0           X error: no match found
          9:  %something = alloca [5 x i16], align 1 
next:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Step 8 (check-llvm) failure: check-llvm (failure)
...
[662/663] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 55770 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll (40833 of 55770)
******************** TEST 'LLVM :: Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll -mtriple=arm-none-eabi -passes=globalopt -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -mtriple=arm-none-eabi -passes=globalopt -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: warning: failed to infer data layout: unable to get target for 'arm-unknown-none-eabi', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/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.
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.ll:9:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[SOMETHING1:%.*]] = alloca [6 x i16], align 1
              ^
<stdin>:8:7: note: scanning from here
entry:
      ^
<stdin>:9:7: note: possible intended match here
 %something = alloca [5 x i16], align 1
      ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-non-byte-array.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: @.i16 = private unnamed_addr constant [5 x i16] [i16 1, i16 2, i16 3, i16 4, i16 5], align 1 
          6:  
          7: define void @memcpy_i16_array() local_unnamed_addr { 
          8: entry: 
next:9'0           X error: no match found
          9:  %something = alloca [5 x i16], align 1 
next:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

</details>

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


More information about the llvm-commits mailing list