[llvm] PowerPC/VSX: Select FMINNUM and FMAXNUM (PR #135739)
    YunQiang Su via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 25 05:28:44 PDT 2025
    
    
  
================
@@ -2731,6 +2731,8 @@ def : Pat<(f32 (fneg (fabs f32:$S))),
                (COPY_TO_REGCLASS $S, VSFRC)), VSSRC))>;
 
 // f32 Min.
+def : Pat<(f32 (fminnum f32:$A, f32:$B)),
+          (f32 FpMinMax.F32Min)>;
----------------
wzssyqa wrote:
If we drop fminnum_ieee/fmaxnum_ieee, we will have some z-turn of the test suite.
https://github.com/llvm/llvm-project/pull/135739
    
    
More information about the llvm-commits
mailing list