AlexVlx wrote:

> > Hmm, is this actually true for cases where you have a `__constant__` 
> > declaration, rather than a definition?
> 
> This PR changes `const` and `contexpr` to longer apply 
> `externally_initialized`. If you use `__constant__` without that it should be 
> unaffected. 

Hmm, ok, that sounds reasonable, thank you for clarifying; I was misreading the 
`isConstQualified` as something else.

> There is no HIP support in the LLVM/Offloading library.

Indeed, there is not, but you referenced that it does so I assumed it was, in 
this case, somehow symmetric. My bad.



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

Reply via email to