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:
parent
6f6c808de5
commit
11c9fac6d3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user