Clang compiling OpenCL assertion on clang::Expr::isIntegerConstantExpr
See reproducer in: https://godbolt.org/z/n7nzhWYdd
Clang FE compiling OpenCL file is failing on assertion
@llvm/issue-subscribers-clang-frontend
I ran into it as well, the issue seems to be type mismatch in async_work_group_copy arguments.
Minimal reproducer here: https://godbolt.org/z/d546Tj1jT
@llvm/issue-subscribers-opencl
Clang FE compiling OpenCL file is failing on assertion
The mixing of short* and ushort* arguments triggers the "call to 'async_work_group_copy' is ambiguous" diagnostic. TryOCLZeroOpaqueTypeInitialization then tries to see if the event argument is zero, but due to the earlier error this trips the assertion in the expression evaluator.