arsenm wrote:

> Do you only set the register for kernel entries?

Yes, it's the pre-initialized state. Non kernels can't be arbitrarily invoked 
from the host 

>  Is the attribute ignored for other functions?

No, it's an informative attribute about that the mode is. The compiler isn't 
trying to fix up the modes for you. If you enter the function with the wrong 
mode, you get what you get. 



https://github.com/llvm/llvm-project/pull/80475
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to