[llvm] [SelectionDAG][RISCV] Operations with static rounding (PR #100999)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 05:11:15 PDT 2024
================
@@ -411,6 +411,20 @@ enum NodeType {
STRICT_FREM,
STRICT_FMA,
+ /// Basic floating-point operations with statically specified control modes,
+ /// usually rounding. These have the same operands as the corresponding
+ /// default mode operations with an additional integer operand that represents
+ /// the specified modes in a target-dependent format.
+ FADD_MODE,
+ FSUB_MODE,
+ FMUL_MODE,
+ FDIV_MODE,
+ FSQRT_MODE,
+ FMA_MODE,
+ SINT_TO_FP_MODE,
+ UINT_TO_FP_MODE,
+ FP_ROUND_MODE,
----------------
arsenm wrote:
Probably should name this with _ROUND suffix, to go along with FPTRUNC_ROUND (which is the same thing, and also has a corresponding IR intrinsic)
https://github.com/llvm/llvm-project/pull/100999
More information about the llvm-commits
mailing list