================
@@ -2101,15 +2101,28 @@ let TargetPrefix = "nvvm" in {
PureIntrinsic<[llvm_i16_ty],
[llvm_float_ty, llvm_float_ty, llvm_i1_ty],
[ImmArg<ArgIndex<2>, DefaultValue<0>>]>;
+ def int_nvvm_ff_to_ # type # _ # rnd # relu # _scale_n1_ue8m0 :
NVVMBuiltin,
+ PureIntrinsic<[llvm_i16_ty],
+ [llvm_float_ty, llvm_float_ty, llvm_i16_ty,
llvm_i1_ty],
+ [ImmArg<ArgIndex<3>, DefaultValue<0>>]>;
----------------
durga4github wrote:
nit:
it would be nicer to pretty-print "pzo" on these booleans .. but that can be a
separate PR later
https://github.com/llvm/llvm-project/pull/227652
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits