[clang] [llvm] Add cross builtins and cross HLSL function to DirectX and SPIR-V backend (PR #109180)
Joshua Batista via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 10:09:15 PDT 2024
================
@@ -4709,6 +4709,18 @@ def HLSLClamp : LangBuiltin<"HLSL_LANG"> {
let Prototype = "void(...)";
}
+def HLSLCreateHandle : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_create_handle"];
+ let Attributes = [NoThrow, Const];
+ let Prototype = "void*(unsigned char)";
+}
----------------
bob80905 wrote:
It's the result of a merge, I'll remove it.
https://github.com/llvm/llvm-project/pull/109180
More information about the cfe-commits
mailing list