[llvm] InstCombine: Infer nnan/ninf on rounding intrinsics (PR #177770)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 25 06:31:50 PST 2026
================
@@ -3070,6 +3070,14 @@ Value *InstCombinerImpl::SimplifyDemandedUseFPClass(Instruction *I,
return Copysign;
}
+ FastMathFlags InferredFMF =
----------------
arsenm wrote:
That would redundantly call getFPClassConstant a second time. The fold to constant case needs to take precedence over the above transform to copysign and the flag infer
https://github.com/llvm/llvm-project/pull/177770
More information about the llvm-commits
mailing list