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

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 02:06:52 PDT 2024


llvm-ci wrote:

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

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

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: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/19/include -nostdsysteminc -O2 -emit-llvm /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CodeGen/inline-asm-x86-flag-output.c -o - -triple x86_64-unknown-linux-gnu | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CodeGen/inline-asm-x86-flag-output.c
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/19/include -nostdsysteminc -O2 -emit-llvm /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CodeGen/inline-asm-x86-flag-output.c -o - -triple x86_64-unknown-linux-gnu
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CodeGen/inline-asm-x86-flag-output.c
/b/1/clang-x86_64-debian-fast/llvm.src/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: /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CodeGen/inline-asm-x86-flag-output.c

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

Input was:
<<<<<<
             .
             .
             .
           299: ; Function Attrs: nounwind 
           300: define dso_local range(i32 0, 2) i32 @test_assume_boolean_flag(i64 noundef %nr, ptr noundef %addr) local_unnamed_addr #0 { 
           301: entry: 
           302:  %0 = tail call { i32, i32 } asm "cmp $2,$1", "={@cca},={@ccae},=*m,r,~{cc},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %addr, i64 %nr) #3, !srcloc !31 
           303:  %asmresult = extractvalue { i32, i32 } %0, 0 
           304:  %asmresult1 = extractvalue { i32, i32 } %0, 1 
check:383'0                                                   X error: no match found
check:383'1                                                     with "RES1" equal to "%asmresult"
           305:  %1 = icmp ult i32 %asmresult1, 2 
check:383'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:383'2      ?                                 possible intended match
           306:  tail call void @llvm.assume(i1 %1) 
check:383'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           307:  %tobool.not = icmp eq i32 %asmresult, 0 
check:383'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           308:  %. = zext i1 %tobool.not to i32 
check:383'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           309:  ret i32 %. 
check:383'0     ~~~~~~~~~~~~
...

```

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


More information about the llvm-commits mailing list