-
Notifications
You must be signed in to change notification settings - Fork 13.6k
"Invalidated the current SCC" assertion failure after #79712 #107139
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 took a look at this and I think it was due to incorrect call graph updates. See example usage: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/CGSCCPassManager.cpp#L561-L562 I have a patch #107935 but still need some time for a test case. |
This happens when foo has is not a single node SCC:
Repro the crash with |
The 3rd argument to |
@llvm/issue-subscribers-coroutines Author: Shoaib Meenai (smeenai)
For the source file in https://gist.github.com/smeenai/fcd14380467e813a28f1ef8c5484b775 (reduced from a large example that uses libunifex; it's probably possible to reduce this further but I'm not at all familiar with coroutines), the following command succeeds with Clang 18 but fails with Clang 19 and trunk:
I bisected this to #79712. CC @fpasserby, @ChuanqiXu9, and @yuxuanchen1997 |
For the source file in https://gist.github.com/smeenai/fcd14380467e813a28f1ef8c5484b775 (reduced from a large example that uses libunifex; it's probably possible to reduce this further but I'm not at all familiar with coroutines), the following command succeeds with Clang 18 but fails with Clang 19 and trunk:
I bisected this to #79712. CC @fpasserby, @ChuanqiXu9, and @yuxuanchen1997
The text was updated successfully, but these errors were encountered: