[llvm-branch-commits] [llvm] InstCombine: Handle multiple use copysign (PR #176917)
Yingwei Zheng via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 20 07:57:34 PST 2026
================
@@ -2616,7 +2618,8 @@ Value *InstCombinerImpl::SimplifyDemandedUseFPClass(Instruction *I,
}
if (Value *Simplified = simplifyDemandedFPClassCopysignMag(
- CI->getArgOperand(0), DemandedMask, Known, FMF.noSignedZeros()))
+ CI->getArgOperand(0), DemandedMask, KnownMag,
+ FMF.noSignedZeros()))
return Simplified;
KnownFPClass KnownSign = computeKnownFPClass(CI->getArgOperand(1),
----------------
dtcxzyw wrote:
<!--__GRAPHITE_HTML_TAG_START__--><p class='graphite__hidden'><i>[Re: line +2628]</i></p><!--__GRAPHITE_HTML_TAG_END__-->
Known -> KnownMag
<!--__GRAPHITE_HTML_TAG_START__--><p class='graphite__hidden'>See this comment inline on <a href="https://app.graphite.com/github/pr/llvm/llvm-project/176917?utm_source=unchanged-line-comment">Graphite</a>.</p><!--__GRAPHITE_HTML_TAG_END__-->
https://github.com/llvm/llvm-project/pull/176917
More information about the llvm-branch-commits
mailing list