1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[NFC] ConstantRange::subWithNoWrap(): fixup comment

This commit is contained in:
Roman Lebedev 2019-11-08 17:27:42 +03:00
parent 6f6c808de5
commit 11c9fac6d3

View File

@ -915,7 +915,7 @@ ConstantRange ConstantRange::subWithNoWrap(const ConstantRange &Other,
// If an overflow happens for every value pair in these two constant ranges,
// we must return Empty set. In signed case, we get that for free, because we
// get lucky that intersection of add() with ssub_sat() results in an
// get lucky that intersection of sub() with ssub_sat() results in an
// empty set. But for unsigned we must perform the overflow check manually.
if (NoWrapKind & OBO::NoSignedWrap)