-
Notifications
You must be signed in to change notification settings - Fork 339
Clang crash: Idx < Size && "access in bound" in AssignmentTrackingAnalysis #8741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I was able to bisect and found the blame to be llvm@de6da6a which seems a little obvious in hindsight. The error goes away if we add |
CC @OCHyams |
Hi @ellishg, thanks for the reproducer, I'll take a look |
Are you able to provide a bit more information about the version and setup/environment you're seeing the crash in? And are you able to reproduce this using any upstream version of clang? The crash trace says |
I was only able to reproduce on apple branches like |
Clang crashes in
AssignmentTrackingAnalysis
becauseVar
is out of bounds of the bitvectorVariableIDsInBlock
.https://github.com/apple/llvm-project/blob/29180d27e709b76965cc02c338188e37f2df9e7f/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp#L1204-L1206
The upstream LLVM
main
branch does not crash.reduced.ll
Error
The text was updated successfully, but these errors were encountered: