[clang] [llvm] [HLSL] Implementation of dot intrinsic (PR #81190)
    Xiang Li via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb  8 14:08:19 PST 2024
    
    
  
================
@@ -4518,6 +4518,12 @@ def HLSLCreateHandle : LangBuiltin<"HLSL_LANG"> {
   let Prototype = "void*(unsigned char)";
 }
 
+def HLSLDotProduct : LangBuiltin<"HLSL_LANG"> {
+  let Spellings = ["__builtin_hlsl_dot"];
+  let Attributes = [NoThrow, Const, CustomTypeChecking];
+  let Prototype = "void(...)";
----------------
python3kgae wrote:
The return type should not be void.
https://github.com/llvm/llvm-project/pull/81190
    
    
More information about the llvm-commits
mailing list