[llvm] [MIPS]Fix QNaNs in the MIPS legacy NaN encodings (PR #139829)
    Brad Smith via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May 14 01:06:21 PDT 2025
    
    
  
================
@@ -467,6 +467,8 @@ MipsTargetLowering::MipsTargetLowering(const MipsTargetMachine &TM,
   setOperationAction(ISD::FMA,               MVT::f64,   Expand);
   setOperationAction(ISD::FREM,              MVT::f32,   Expand);
   setOperationAction(ISD::FREM,              MVT::f64,   Expand);
+  setOperationAction(ISD::ConstantFP, MVT::f32, Custom);
+  setOperationAction(ISD::ConstantFP, MVT::f64, Custom);
----------------
brad0 wrote:
These should line up like the entries above them.
https://github.com/llvm/llvm-project/pull/139829
    
    
More information about the llvm-commits
mailing list