[llvm] [DAG] Avoid strictfp nodes in lowering of llvm.fcanonicalize (PR #177399)
Serge Pavlov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 23 11:28:40 PST 2026
================
@@ -540,6 +540,11 @@ enum NodeType {
/// Returns platform specific canonical encoding of a floating point number.
FCANONICALIZE,
+ /// Returns platform specific canonical encoding of a floating point number
+ /// using multiplying it by 1.0. The fist operand is the floating-point
+ /// number, the second is constant 1.0.
+ FCANONICALIZE_MUL,
----------------
spavloff wrote:
It appeared as a more straightforward solution, but you are right, the fix can be made without the new node.
https://github.com/llvm/llvm-project/pull/177399
More information about the llvm-commits
mailing list