[llvm] [SPIR-V] Add support for OpFMod intrinsic (PR #193172)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 09:00:22 PDT 2026
================
@@ -98,6 +98,7 @@ let TargetPrefix = "spv" in {
def int_spv_degrees : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty], [IntrNoMem]>;
def int_spv_distance : DefaultAttrsIntrinsic<[LLVMVectorElementType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>], [IntrNoMem]>;
def int_spv_faceforward : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem]>;
+ def int_spv_fmod : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>], [IntrNoMem]>;
----------------
aobolensk wrote:
I agree, done, thanks!
https://github.com/llvm/llvm-project/pull/193172
More information about the llvm-commits
mailing list