[clang] [llvm] [NVPTX] Add builtins and intrinsics for conversions of new FP types (PR #134345)
Alex MacLean via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 8 09:27:52 PDT 2025
================
@@ -703,6 +703,53 @@ let hasSideEffects = false in {
defm CVT_to_tf32_rz_satf : CVT_TO_TF32<"rz.satfinite", [hasPTX<86>, hasSM<100>]>;
defm CVT_to_tf32_rn_relu_satf : CVT_TO_TF32<"rn.relu.satfinite", [hasPTX<86>, hasSM<100>]>;
defm CVT_to_tf32_rz_relu_satf : CVT_TO_TF32<"rz.relu.satfinite", [hasPTX<86>, hasSM<100>]>;
+
+ // FP6 conversions.
+ multiclass CVT_TO_F6X2<string F6Name> {
----------------
AlexMaclean wrote:
Since this only has a single string parameter and is called twice, I think it would be a bit clearer to simply use a foreach loop here (and for the below cases as well).
https://github.com/llvm/llvm-project/pull/134345
More information about the cfe-commits
mailing list