[clang] [llvm] [SPIRV] Add more id and range builtIns (PR #143909)

Victor Lomuller via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 08:32:14 PDT 2025


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


More information about the cfe-commits mailing list