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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 04:07:35 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 hasn't been addressed. It makes little sense to query this from an IR instruction 

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


More information about the llvm-commits mailing list