================ @@ -4770,6 +4770,35 @@ def GetDeviceSideMangledName : LangBuiltin<"CUDA_LANG"> { let Prototype = "char const*(...)"; } +// GPU intrinsics +class GPUBuiltin<string prototype> : Builtin { ---------------- jhuber6 wrote:
We need a way to make these only emitted on 'gpu' compilations. 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