[llvm-branch-commits] [llvm] [ARM] Treat strictfp vector rounding operations as legal (PR #180480)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 9 00:36:24 PST 2026


================
@@ -1356,6 +1363,19 @@ ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM_,
       setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal);
       setOperationAction(ISD::FRINT, MVT::v2f32, Legal);
       setOperationAction(ISD::FRINT, MVT::v4f32, Legal);
+
+      setOperationAction(ISD::STRICT_FFLOOR, MVT::v2f32, Legal);
----------------
arsenm wrote:

These should be paired with the non-strict op, like `setOperationAction({FFLOOR, STRICT_FFLOOR}, VT, Legal)`

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


More information about the llvm-branch-commits mailing list