[llvm-branch-commits] [llvm] [ConstantFolding] Non-constrained functions in strictfp (PR #190478)

Eli Friedman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Apr 5 13:35:40 PDT 2026


================
@@ -2513,34 +2492,47 @@ static Constant *ConstantFoldScalarCall1(StringRef Name,
 
     // Use internal versions of these intrinsics.
 
-    if (IntrinsicID == Intrinsic::nearbyint || IntrinsicID == Intrinsic::rint ||
-        IntrinsicID == Intrinsic::roundeven) {
----------------
efriedma-quic wrote:

Why move roundeven handling?

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


More information about the llvm-branch-commits mailing list