[clang] [llvm] [AArch64] Implement ACLE FEAT_FPv2 SVE elementwise minimum/maximum intrinsics (PR #246450)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 01:48:45 PST 2026


================
@@ -4402,3 +4402,19 @@ let TargetPrefix = "aarch64" in {
   def int_aarch64_sve_pmlal_pair_x2 : DefaultAttrsIntrinsic<[llvm_nxv2i64_ty, llvm_nxv2i64_ty],
       [llvm_nxv2i64_ty, llvm_nxv2i64_ty, llvm_nxv2i64_ty, llvm_nxv2i64_ty], [IntrNoMem]>;
 }
+
+// (SVE2p3 | SME2p3) && FPv2 elementwise maximum/minimum
+let TargetPrefix = "aarch64" in {
+  def int_aarch64_sve_fmaxmg      : AdvSIMD_Pred2VectorArg_Intrinsic;
+  def int_aarch64_sve_fmaxmg_u    : AdvSIMD_Pred2VectorArg_Intrinsic;
----------------
CarolineConcatto wrote:

Am I missing something here or you are not using the _u intrinsics?
Is github hiding the code from me in GUI or there is no changes in AArch64ISelLowering.cpp?

https://github.com/llvm/llvm-project/pull/246450


More information about the cfe-commits mailing list