[clang] [clang] Create PointerToBoolean casts for C casts (PR #155368)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 27 21:35:36 PDT 2025
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/155368 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/26289
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/issue155126.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/lib/clang/22/include -nostdsysteminc -std=c23 /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c -emit-llvm -o - | /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c # RUN: at line 2
+ /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/lib/clang/22/include -nostdsysteminc -std=c23 /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c -emit-llvm -o -
+ /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c
[1m/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c:6:17: [0m[0;1;31merror: [0m[1mCHECK-LABEL: expected string not found in input
[0m// CHECK-LABEL: define dso_local void @foo(
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m; ModuleID = '/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c'
[0;1;32m^
[0m[1m<stdin>:7:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mdefine void @foo() #0 {
[0;1;32m^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c' [0m
[0;1;31mlabel:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/clang/test/CodeGen/issue155126.c" [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32" [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "arm64-apple-darwin23.6.0" [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;31mlabel:6'0 ~
[0m[0;1;30m 6: [0m[1m[0;1;46m; Function Attrs: noinline nounwind optnone [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46mdefine void @foo() #0 { [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;35mlabel:6'1 ? possible intended match
[0m[0;1;30m 8: [0m[1m[0;1;46mentry: [0m
[0;1;31mlabel:6'0 ~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m %e1 = alloca i8, align 1 [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m store i8 0, ptr %e1, align 1 [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m ret void [0m
[0;1;31mlabel:6'0 ~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46m} [0m
[0;1;31mlabel:6'0 ~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/155368
More information about the cfe-commits
mailing list