[clang] [CodeGen] Use data layout aware constant folder in CGBuilder (PR #184819)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 01:06:04 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/28674
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: CodeGen/volatile-1.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/23/include -nostdsysteminc -Wno-return-type -Wno-unused-value -emit-llvm /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c -w -o - | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c
# executed command: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/23/include -nostdsysteminc -Wno-return-type -Wno-unused-value -emit-llvm /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c -w -o -
# executed command: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c
# .---command stderr------------
# | /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c:30:17: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: load volatile [[INT]], ptr getelementptr inbounds nuw (i8, ptr @ci, i64 4), align [[ALIGN_GEP:[0-9]+]]
# | ^
# | <stdin>:24:48: note: scanning from here
# | %ci.real = load volatile i32, ptr @ci, align 4
# | ^
# | <stdin>:24:48: note: with "INT" equal to "i32"
# | %ci.real = load volatile i32, ptr @ci, align 4
# | ^
# | <stdin>:25:13: note: possible intended match here
# | %ci.imag = load volatile i32, ptr getelementptr inbounds nuw (i8, ptr @ci, i32 4), align 4
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/volatile-1.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 19: define dso_local void @test() #0 {
# | 20: entry:
# | 21: %agg.tmp.ensured = alloca %struct.S, align 4
# | 22: %agg.tmp.ensured47 = alloca %struct.S, align 4
# | 23: %0 = load volatile i32, ptr @i, align 4
# | 24: %ci.real = load volatile i32, ptr @ci, align 4
# | next:30'0 X error: no match found
# | next:30'1 with "INT" equal to "i32"
# | 25: %ci.imag = load volatile i32, ptr getelementptr inbounds nuw (i8, ptr @ci, i32 4), align 4
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:30'2 ? possible intended match
# | 26: %conv = sitofp i32 %ci.real to float
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %ci.real1 = load volatile i32, ptr @ci, align 4
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: %ci.imag2 = load volatile i32, ptr getelementptr inbounds nuw (i8, ptr @ci, i32 4), align 4
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/184819
More information about the cfe-commits
mailing list