[llvm] [MIPS]Fix QNaNs in the MIPS legacy NaN encodings (PR #139829)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 02:20:33 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);
----------------
anbbna wrote:

OK, I'll amend that.


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


More information about the llvm-commits mailing list