[llvm] [Mips] Add instruction selection for strict FP (PR #168870)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 19:32:39 PST 2025


================
@@ -356,6 +356,8 @@ MipsTargetLowering::MipsTargetLowering(const MipsTargetMachine &TM,
   setOperationAction(ISD::FCOPYSIGN,          MVT::f32,   Custom);
   setOperationAction(ISD::FCOPYSIGN,          MVT::f64,   Custom);
   setOperationAction(ISD::FP_TO_SINT,         MVT::i32,   Custom);
+  setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::i32, Custom);
+  setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::i32, Custom);
----------------
yingopq wrote:

Can `MVT::i32` be aligned here?

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


More information about the llvm-commits mailing list