jhuber6 wrote: > > > not everything should end up in Clang, even though it is individually > > > "convenient" > > > > > > We should at least have some builtins for those SPIR-V intrinsics you > > listed. I think right now we only have `reflect`. > > Probably, I think there's a sense that in general it's desirable to mirror > all target intrinsics to Clang builtins by default, except extremely exotic > ones.
At a high level, if those work, we could just use them in `spirvintrin.h`. Do you happen to know what the backend does with them? They seem to be like what's going on here but I don't know when the target specific magic gets baked in. https://github.com/llvm/llvm-project/pull/131190 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits