-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
[clang] assertion in clang::Expr::ClassifyImpl when doing Sema::DeduceAutoType #92275
Comments
@llvm/issue-subscribers-clang-frontend Author: Yaxun (Sam) Liu (yxsamliu)
The following testcase causes assertion in clang trunk:
https://godbolt.org/z/acrEETdxo clang++: /root/llvm-project/clang/lib/AST/ExprClassification.cpp:72: Cl clang::Expr::ClassifyImpl(clang::ASTContext&, clang::SourceLocation*) const: Assertion `isPRValue()' failed.
|
This looks like a recent regression it started after clang-18: https://godbolt.org/z/Wo88rv38d |
Seems like this was introduced by #88740 |
Fix a regression introduced by llvm#88740 Fixes llvm#92275
The following testcase causes assertion in clang trunk:
https://godbolt.org/z/acrEETdxo
Assertion:
Backtrace
this caused regression in https://github.com/ROCm/composable_kernel/blob/develop/test/position_embedding/position_embedding.cpp
The text was updated successfully, but these errors were encountered: