[llvm] InstCombine: Infer nnan/ninf on rounding intrinsics (PR #177770)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 25 06:28:33 PST 2026


================
@@ -3070,6 +3070,14 @@ Value *InstCombinerImpl::SimplifyDemandedUseFPClass(Instruction *I,
         return Copysign;
       }
 
+      FastMathFlags InferredFMF =
----------------
dtcxzyw wrote:

Can we use `simplifyDemandedFPClassResult`?

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


More information about the llvm-commits mailing list