[clang] [Clang] Use ConstantExpr::getGetElementPtr() with DataLayout (PR #225415)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 23 00:35:28 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `arm-bbot-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/36795
<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 :: CodeGenCXX/copy-constructor-synthesis-2.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/buildbot/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /buildbot/clang-armv8-quick/stage1/lib/clang/24/include -nostdsysteminc -triple armv8l-unknown-linux-gnueabihf -std=c++11 -emit-llvm -o - /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp | /buildbot/clang-armv8-quick/stage1/bin/FileCheck /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
# executed command: /buildbot/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /buildbot/clang-armv8-quick/stage1/lib/clang/24/include -nostdsysteminc -triple armv8l-unknown-linux-gnueabihf -std=c++11 -emit-llvm -o - /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
# executed command: /buildbot/clang-armv8-quick/stage1/bin/FileCheck /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
# .---command stderr------------
# | /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp:27:11: error: CHECK: expected string not found in input
# | // CHECK: store ptr getelementptr inbounds inrange(-{{[0-9]+}}, {{[0-9]+}}) (i8, ptr @_ZTV1A, i64 16)
# | ^
# | <stdin>:64:173: note: scanning from here
# | define linkonce_odr noundef ptr @_ZN1AC1ERKS_(ptr noundef nonnull returned align 4 dereferenceable(4) %this, ptr noundef nonnull align 4 dereferenceable(4) %0) unnamed_addr #2 comdat align 2 {
# | ^
# | <stdin>:84:2: note: possible intended match here
# | store ptr getelementptr inbounds inrange(-8, 4) (i8, ptr @_ZTV1A, i32 8), ptr %this1, align 4
# | ^
# |
# | Input file: <stdin>
# | Check file: /buildbot/clang-armv8-quick/llvm/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 59: %call = call noundef ptr @_ZN1AC1ERKS_(ptr noundef nonnull align 4 dereferenceable(4) %agg.result, ptr noundef nonnull align 4 dereferenceable(4) %0) #3
# | 60: ret void
# | 61: }
# | 62:
# | 63: ; Function Attrs: mustprogress noinline nounwind optnone
# | 64: define linkonce_odr noundef ptr @_ZN1AC1ERKS_(ptr noundef nonnull returned align 4 dereferenceable(4) %this, ptr noundef nonnull align 4 dereferenceable(4) %0) unnamed_addr #2 comdat align 2 {
# | check:27'0 { search range start (exclusive)
# | check:27'1 error: no match found in search range
# | 65: entry:
# | 66: %this.addr = alloca ptr, align 4
# | 67: %.addr = alloca ptr, align 4
# | 68: store ptr %this, ptr %this.addr, align 4
# | 69: store ptr %0, ptr %.addr, align 4
# | .
# | .
# | .
# | 79: %this.addr = alloca ptr, align 4
# | 80: %.addr = alloca ptr, align 4
# | 81: store ptr %this, ptr %this.addr, align 4
# | 82: store ptr %0, ptr %.addr, align 4
...
```
</details>
https://github.com/llvm/llvm-project/pull/225415
More information about the cfe-commits
mailing list