================
@@ -1347,28 +1347,34 @@ vectors is added to `%c` to produce the return.
 
 ##### Syntax:
 
-This is an overloaded intrinsic. The '`.ftz`' and '`.sat`' modifiers are
-optional.
+This is an overloaded intrinsic of the form:
 
 ```llvm
-declare half         @llvm.nvvm.fadd{.ftz}{.sat}.f16(half %a, half %b, i32 
immarg %rnd)
-declare <2 x half>   @llvm.nvvm.fadd{.ftz}{.sat}.v2f16(<2 x half> %a, <2 x 
half> %b, i32 immarg %rnd)
-declare bfloat       @llvm.nvvm.fadd.bf16(bfloat %a, bfloat %b, i32 immarg 
%rnd)
-declare <2 x bfloat> @llvm.nvvm.fadd.v2bf16(<2 x bfloat> %a, <2 x bfloat> %b, 
i32 immarg %rnd)
-declare float        @llvm.nvvm.fadd{.ftz}{.sat}.f32(float %a, float %b, i32 
immarg %rnd)
-declare <2 x float>  @llvm.nvvm.fadd{.ftz}.v2f32(<2 x float> %a, <2 x float> 
%b, i32 immarg %rnd)
-declare double       @llvm.nvvm.fadd.f64(double %a, double %b, i32 immarg %rnd)
+declare <ty> @llvm.nvvm.fadd{.ftz}{.sat}.<sfx>(<ty> %a, <ty> %b, i32 immarg 
%flag_fp_rnd_mode)
----------------
durga4github wrote:

nit: we can have it as `suffix` explicitly..

https://github.com/llvm/llvm-project/pull/224546
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to