[llvm] Intrinsic: Fix minnum and introduce minimumnum (PR #93373)
Joshua Cranmer via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 13:42:22 PDT 2024
================
@@ -1084,6 +1084,14 @@ def int_maximum : DefaultAttrsIntrinsic<[llvm_anyfloat_ty],
[LLVMMatchType<0>, LLVMMatchType<0>],
[IntrNoMem, IntrSpeculatable, IntrWillReturn, Commutative]
>;
+def int_minimumnum : DefaultAttrsIntrinsic<[llvm_anyfloat_ty],
+ [LLVMMatchType<0>, LLVMMatchType<0>],
+ [IntrNoMem, IntrSpeculatable, IntrWillReturn, Commutative]
+>;
+def int_maximumnum : DefaultAttrsIntrinsic<[llvm_anyfloat_ty],
+ [LLVMMatchType<0>, LLVMMatchType<0>],
+ [IntrNoMem, IntrSpeculatable, IntrWillReturn, Commutative]
+>;
----------------
jcranmer-intel wrote:
Intrinsics need LangRef documentation.
https://github.com/llvm/llvm-project/pull/93373
More information about the llvm-commits
mailing list