[clang] [Clang] Allow the value of unroll count to be zero in `#pragma GCC unroll` and `#pragma unroll` (PR #88666)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 21 02:07:56 PDT 2024


ronlieb wrote:

our downstream CI for amdgpu build of rccl, rocblas and rocSolver are seeing this assertions due to this patch
[2024-04-21T03:28:05.859Z] clang-19: /jenkins/workspace/compiler-psdb-amd-staging/repos/external/llvm-project/clang/lib/AST/ExprConstant.cpp:15721: bool clang::Expr::EvaluateAsRValue(clang::Expr::EvalResult&, const clang::ASTContext&, bool) const: Assertion `!isValueDependent() && "Expression evaluator can't be called on a dependent expression."' failed.

if a reproducer is needed, we can try and get one , bit of effort. let me know.

https://github.com/llvm/llvm-project/pull/88666


More information about the cfe-commits mailing list