Skip to content

Commit c92c589

Browse files
AlexMacleandtcxzyw
andcommitted
Update llvm/lib/Analysis/ValueTracking.cpp
Co-authored-by: Yingwei Zheng <[email protected]>
1 parent f83a2ce commit c92c589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5933,7 +5933,7 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts,
59335933
// Transfer information from the sign bit.
59345934
if (Bits.isNonNegative())
59355935
Known.signBitMustBeZero();
5936-
else if (Bits.One.isSignBitSet())
5936+
else if (Bits.isNegative())
59375937
Known.signBitMustBeOne();
59385938

59395939
if (Ty->isIEEE()) {

0 commit comments

Comments
 (0)