Issue 139570
Summary [HIP][AMDGPU] Assertion failure when AMD attribute value depends on template argument
Labels new issue
Assignees
Reporter jayfoad
    With this [test case](https://github.com/user-attachments/files/20164855/f.txt) I get:
```
$ clang++ -nogpuinc -nogpulib -c -x hip f.txt
clang-21: lib/AST/ExprConstant.cpp:17150: APSInt clang::Expr::EvaluateKnownConstInt(const ASTContext &, SmallVectorImpl<PartialDiagnosticAt> *) const: Assertion `!isValueDependent() && "_expression_ evaluator can't be called on a dependent _expression_."' failed.
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to