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

Brad Smith via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 22 19:30:04 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);
----------------
brad0 wrote:

Align Custom too. It looks weird without.

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


More information about the llvm-commits mailing list