[llvm] [NVPTX] Add float to tf32 conversion intrinsic (PR #121507)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 13:42:14 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:
Fair enough, as long as we've considered tablegen this seems fine.
https://github.com/llvm/llvm-project/pull/121507
More information about the llvm-commits
mailing list