Skip to content

Conversation

@yulongzhang
Copy link
Contributor

In LLVM 16+ dyn_cast is no longer null-safe and hence leads to crashes. This commit switches it to dyn_cast_if_null. For backward compatibility, in LLVM < 16 we switch to dyn_cast_or_null.

In LLVM 16+ dyn_cast is no longer null-safe and hence leads to crashes.
This commit switches it to dyn_cast_if_null.
@yulongzhang yulongzhang force-pushed the fix-codesearch-dyncast branch from 8c8a4ab to 3dbbc9c Compare January 27, 2026 07:40
@dvyukov dvyukov added the AI patching Feature requests and bugs related to AI-based kernel bug fix generation. label Jan 27, 2026
@dvyukov dvyukov added this pull request to the merge queue Jan 27, 2026
Merged via the queue into google:master with commit b441fd8 Jan 27, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI patching Feature requests and bugs related to AI-based kernel bug fix generation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants