[llvm] [X86][AVX10.2] Lower fmininum/fmaximum to VMINMAX* (PR #121373)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 1 19:43:16 PST 2025


================
@@ -6753,9 +6756,9 @@ static const X86FoldTableEntry Table4[] = {
   {X86::VMINMAXPSZ128rrik, X86::VMINMAXPSZ128rmik, 0},
   {X86::VMINMAXPSZ256rrik, X86::VMINMAXPSZ256rmik, 0},
   {X86::VMINMAXPSZrrik, X86::VMINMAXPSZrmik, 0},
-  {X86::VMINMAXSDrrik, X86::VMINMAXSDrmik, TB_NO_REVERSE},
-  {X86::VMINMAXSHrrik, X86::VMINMAXSHrmik, TB_NO_REVERSE},
-  {X86::VMINMAXSSrrik, X86::VMINMAXSSrmik, TB_NO_REVERSE},
+  {X86::VMINMAXSDrri_Intk, X86::VMINMAXSDrmi_Intk, TB_NO_REVERSE},
----------------
phoebewang wrote:

Move `_Int` to the end looks good to me. Here you go: https://github.com/llvm/llvm-project/pull/121450

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


More information about the llvm-commits mailing list