================
@@ -2157,6 +2221,16 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register
ResVReg,
break;
case Intrinsic::spv_thread_id:
return selectSpvThreadId(ResVReg, ResType, I);
+ case Intrinsic::spv_fdot:
+ return BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpDot))
----------------
farzonl wrote:
Maybe we should do a `selectDot` function? Would be more consistent with how
all the other cases are setup. Also you are doing operand checks before addUse
in `selectIntegerDot` that you aren't doing here.
https://github.com/llvm/llvm-project/pull/104656
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits