[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:08:00 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/6880
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/GlobalOpt/ARM/arm-widen-strings-1.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt < /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-strings-1.ll -mtriple=arm-none-eabi -passes=globalopt -S | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-strings-1.ll
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt -mtriple=arm-none-eabi -passes=globalopt -S
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-strings-1.ll
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt: warning: failed to infer data layout: unable to get target for 'arm-unknown-none-eabi', see --version and --triple.
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/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/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-strings-1.ll:9:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[SOMETHING:%.*]] = alloca [12 x i8], align 1
^
<stdin>:8:7: note: scanning from here
entry:
^
<stdin>:9:7: note: possible intended match here
%something = alloca [10 x i8], align 1
^
Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/GlobalOpt/ARM/arm-widen-strings-1.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: @.str = private unnamed_addr constant [10 x i8] c"123456789\00", align 1
6:
7: define void @foo() local_unnamed_addr {
8: entry:
next:9'0 X error: no match found
9: %something = alloca [10 x i8], align 1
next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:9'1 ? possible intended match
10: call void @llvm.memcpy.p0.p0.i32(ptr noundef nonnull align 1 dereferenceable(10) %something, ptr noundef nonnull align 1 dereferenceable(10) @.str, i32 10, i1 false)
next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11: %call2 = call i32 @bar(ptr nonnull %something)
next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: ret void
next:9'0 ~~~~~~~~~~
13: }
next:9'0 ~~
14:
next:9'0 ~
.
...
```
</details>
https://github.com/llvm/llvm-project/pull/107120
More information about the llvm-commits
mailing list