<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/147641>147641</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Install llvm-20 release pkg and use Clang++-20 compiling a cuda kernel which calls cutlass interface, and then it success, but git clone llvm-19 and build it locally, then compile the same kernel, it failed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhangzh33
</td>
</tr>
</table>
<pre>
I install llvm-20 release pkg and use Clang++-20 to compile a CUDA kernel which calls cutlass interface, and it success; then I git clone llvm-19, build it locally, then compile the same kernel, but it failed, the compile error is as below:
******************************************************
clang-19: /data/llvm/clang/lib/AST/ExprClassification.cpp:72: Cl clang::Expr::ClassifyImpl(clang::ASTContext&, clang::SourceLocation*) const: Assertion `isPRValue()' failed.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMU81u2zwQfJrVZfEZ1NKWo4MOsvMJMNBD0aS9U9RaYkOLAknl7-kLymoSoKf0VEAHgZzZIWZ2VAimH5kr2B1gd5upOQ7OV6-DGvvXQcqsdd1LdUIzhqisRWsfL_-RQM-WVWCcHnpUY4dzYDxaNfZAB6BDgkSH2l0mYxkVHr_f1vjAfmSLT4PRA2plbUA9R6tCQDNG9melGei4DDQRw6w1hwDygHHgEU_Ym4jaupGv78jLhG5nYxe8dWnmSzpb8L_V48AY1IVX_SsnJsZZGcvdSnjDs_fOowmoArZs3RPIGkQN9M9_otYpg2SMrBGo6VRUQE1yC6jR14Aaa1qgpr67B2r-f578MUVgzkaraNy40dMEst5TmnG0eGXJGmSdwNe_lfJyukwW6OYDpr67P7ox8nMEKpK1H-7u3Ow1f3FXoeXRJWo3hpi06hDYpwuEQpjw9dsPZWcGugEqgfZrWpusq2RXylJlXOX7HQkpRFlkQ6Wk5jbnbZcX3c15r7u2U7pgsS0E5W1XZKYiQTuxF6WQIpfFptzmBZ1l2QoqhDq3sBV8UcZukmEb5_vMhDBzlW_3xTbPrGrZhqUqRKuZlFrjq2Uf27kPsBXWhBjeR0QTLVenzxfouo9m7FGhnjv1qf4sDfhQonXp_2jQAv6bCr3VJ5u9rYYYp5BCpgao6U0c5naj3eV9-Ra9ybufrCNQsxgbgJrV28eKfgUAAP__0ONnrw">