[llvm] [NFC][AlwaysInliner] Reduce AlwaysInliner memory consumption. (PR #96958)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 01:54:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/inline-asm-x86-flag-output.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include -nostdsysteminc -O2 -emit-llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c -o - -triple x86_64-unknown-linux-gnu | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include -nostdsysteminc -O2 -emit-llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c -o - -triple x86_64-unknown-linux-gnu
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c:383:11: error: CHECK: expected string not found in input
 //CHECK: %1 = icmp ult i32 [[RES1]], 2
          ^
<stdin>:304:47: note: scanning from here
 %asmresult1 = extractvalue { i32, i32 } %0, 1
                                              ^
<stdin>:304:47: note: with "RES1" equal to "%asmresult"
 %asmresult1 = extractvalue { i32, i32 } %0, 1
                                              ^
<stdin>:305:2: note: possible intended match here
 %1 = icmp ult i32 %asmresult1, 2
 ^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c

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

Input was:
<<<<<<
             1: ; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c' 
             2: source_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/inline-asm-x86-flag-output.c" 
             3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
             4: target triple = "x86_64-unknown-linux-gnu" 
             5:  
             6: ; Function Attrs: nounwind 
             7: define dso_local range(i32 0, 2) i32  at test_cca(i64 noundef %nr, ptr noundef %addr) local_unnamed_addr #0 { 
label:4'0                                            ^~~~~~~~~
label:4'1                                            ^~~~~~~~~
             8: entry: 
             9:  %0 = tail call i32 asm "cmp $2,$1", "={@cca},=*m,r,~{cc},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %addr, i64 %nr) #3, !srcloc !2 
check:5             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            10:  %1 = icmp ult i32 %0, 2 
            11:  tail call void @llvm.assume(i1 %1) 
            12:  %. = xor i32 %0, 1 
            13:  ret i32 %. 
            14: } 
            15:  
            16: ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) 
            17: declare void @llvm.assume(i1 noundef) #1 
            18:  
            19: ; Function Attrs: nounwind 
...

```

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


More information about the llvm-commits mailing list