Naghasan wrote:

Thanks for the background, that helps.

> That said, I'm not completely against having 2 ways to do the same thing in 
> the backend if that's really a requirement on your end. Some FE could use 
> intrinsics, other the global approach.

Well all could switch to intrinics or none would is also on the table. I 
wouldn't be opposed to either as well, what truly matters for me is the headers 
part and another approach can be used than intrinsics (actually I can keep the 
clang builtin and lower them to the GV, I previously made the mental shortcut 
no intrinsics = intrinsics/builtins).

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

Reply via email to