[llvm] [NVPTX] Add float to tf32 conversion intrinsic (PR #121507)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 10:16:58 PST 2025
================
@@ -728,7 +728,53 @@ bool NVPTXDAGToDAGISel::tryIntrinsicNoChain(SDNode *N) {
case Intrinsic::nvvm_texsurf_handle_internal:
SelectTexSurfHandle(N);
return true;
+ case Intrinsic::nvvm_cvt_float_to_tf32:
+ SelectCvtFloatToTF32(N);
+ return true;
+ }
+}
+
+void NVPTXDAGToDAGISel::SelectCvtFloatToTF32(SDNode *N) {
----------------
AlexMaclean wrote:
Can this be expressed via table gen patterns?
https://github.com/llvm/llvm-project/pull/121507
More information about the llvm-commits
mailing list