[clang] [llvm] [HLSL][SPIRV]Add SPIRV generation for HLSL dot (PR #104656)

Greg Roth via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 22 10:34:54 PDT 2024


================
@@ -363,9 +382,13 @@ static bool expandIntrinsic(Function &F, CallInst *Orig) {
   case Intrinsic::dx_normalize:
     Result = expandNormalizeIntrinsic(Orig);
     break;
+  case Intrinsic::dx_fdot:
+    Result =
+        expandFloatDotIntrinsic(Orig, Orig->getOperand(0), Orig->getOperand(1));
----------------
pow2clk wrote:

Done

https://github.com/llvm/llvm-project/pull/104656


More information about the cfe-commits mailing list