wenju-he wrote:

> But I've seen other PRs against 22.x that were closed already, because of "we 
> don't do another 22.x release".

Ok, then it might be difficult to land this to 22.x

> It also feels like the bug is actually something else, because it also looks 
> like a codegen or tooling issue, though this PR is rather trivial and does 
> fix the issue.

This PR is the correct root-cause fix. Without static, _CLC_INLINE (inline) 
function in header is problematic in C: when function is not inlined in a TU, 
compiler assumes it will be provided by another file (which won't happen) and 
generates declaration for __clc_flush_denormal_if_not_supported in that TU.

https://github.com/llvm/llvm-project/pull/207264
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to