Index: lib/Support/APFloat.cpp =================================================================== --- lib/Support/APFloat.cpp +++ lib/Support/APFloat.cpp @@ -1430,7 +1430,7 @@ /* Determine if the operation on the absolute values is effectively an addition or subtraction. */ - subtract ^= (sign ^ rhs.sign) ? true : false; + subtract ^= (sign ^ rhs.sign) != 0; /* Are we bigger exponent-wise than the RHS? */ bits = exponent - rhs.exponent;