[llvm] [SelectionDAG][RISCV] Operations with static rounding (PR #100999)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 05:12:03 PDT 2024


================
@@ -354,6 +354,16 @@ class TargetLoweringBase {
     return IsStrictFPEnabled;
   }
 
+  /// Returns true if the target supports static rounding mode for the given
+  /// instruction.
+  virtual bool isStaticRoundingSupportedFor(const Instruction &I) const {
+    return false;
+  }
----------------
arsenm wrote:

This hook doesn't make sense to me, and I don't see how it would be usable

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


More information about the llvm-commits mailing list