[llvm] PowerPC/VSX: Select FMINNUM and FMAXNUM (PR #135739)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 4 13:05:58 PST 2025


================
@@ -1868,6 +1868,9 @@ def FpMinMax {
   dag F32Max = (COPY_TO_REGCLASS (XSMAXDP (COPY_TO_REGCLASS $A, VSFRC),
                                           (COPY_TO_REGCLASS $B, VSFRC)),
                                  VSSRC);
+  dag F32Can = (COPY_TO_REGCLASS (XSMAXDP (COPY_TO_REGCLASS $A, VSFRC),
----------------
arsenm wrote:

I had to stare at this for a long time to figure out what "Can" meant. This is only used in one place, so just inline it into the one Pat use 

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


More information about the llvm-commits mailing list