[llvm] [Mips] Fix wrong qNaN encoding when -mnan=legacy (PR #153777)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 02:51:52 PDT 2025


================
@@ -5436,7 +5438,8 @@ class LLVM_ABI TargetLowering : public TargetLoweringBase {
   SDValue expandFMINNUM_FMAXNUM(SDNode *N, SelectionDAG &DAG) const;
 
   /// Expand fminimum/fmaximum into multiple comparison with selects.
-  SDValue expandFMINIMUM_FMAXIMUM(SDNode *N, SelectionDAG &DAG) const;
+  SDValue expandFMINIMUM_FMAXIMUM(SDNode *N, SelectionDAG &DAG,
+                                  const TargetLowering &TLI) const;
----------------
RKSimon wrote:

why do you need a (self) TLI argument when its a TLI method?

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


More information about the llvm-commits mailing list