================
@@ -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:

The position is out of sync. I mean `Known.SignBit && KnownSign.SignBit` -> 
KnownMag.SignBit && KnownSign.SignBit.

https://github.com/llvm/llvm-project/pull/176917
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to