[llvm] [llubi] Add support for load/store/lifetime markers (PR #182532)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 12:09:53 PST 2026


gulfemsavrun wrote:

We started seeing a test failure after this commit.
```
FAIL: LLVM :: tools/llubi/loadstore_be.ll (56519 of 64988)
******************** TEST 'LLVM :: tools/llubi/loadstore_be.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/b/s/w/ir/x/w/llvm_build/bin/llubi --verbose < /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llubi/loadstore_be.ll 2>&1 | /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llubi/loadstore_be.ll
# executed command: /b/s/w/ir/x/w/llvm_build/bin/llubi --verbose
# executed command: /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llubi/loadstore_be.ll
# .---command stderr------------
# | /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llubi/loadstore_be.ll:139:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: %val13 = load i32, ptr %alloc_lifetime, align 4 => i32 -1744110296
# |               ^
# | <stdin>:27:56: note: scanning from here
# |  call void @llvm.lifetime.start.p0(ptr %alloc_lifetime)
# |                                                        ^
# | <stdin>:29:2: note: possible intended match here
# |  %val14 = load i32, ptr %alloc_lifetime, align 4 => i32 -399511892
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llubi/loadstore_be.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            22:  %val11 = load i25, ptr %alloc, align 4 => poison 
# |            23:  call void @llvm.lifetime.start.p0(ptr poison) 
# |            24:  call void @llvm.lifetime.end.p0(ptr poison) 
# |            25:  %alloc_lifetime = alloca i32, align 4 => ptr 0xC [alloc_lifetime] 
# |            26:  %val12 = load i32, ptr %alloc_lifetime, align 4 => poison 
# |            27:  call void @llvm.lifetime.start.p0(ptr %alloc_lifetime) 
# | next:139'0                                                            X error: no match found
# |            28:  %val13 = load i32, ptr %alloc_lifetime, align 4 => i32 -289830082 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            29:  %val14 = load i32, ptr %alloc_lifetime, align 4 => i32 -399511892 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:139'1      ?                                                                  possible intended match
# |            30:  store i32 77, ptr %alloc_lifetime, align 4 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            31:  %val15 = load i32, ptr %alloc_lifetime, align 4 => i32 77 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            32:  call void @llvm.lifetime.start.p0(ptr %alloc_lifetime) 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            33:  %val_undef1 = load i32, ptr %alloc_lifetime, align 4 => i32 -132966042 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            34:  %val_undef2 = load i32, ptr %alloc_lifetime, align 4 => i32 1094190734 
# | next:139'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************
```
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-host-linux-x64/b8688054569967156305/overview

https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8688054569967156305/+/u/clang/tests/stdout

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


More information about the llvm-commits mailing list