This lifts two TODOs from this function, allowing us to prove
no-overflow whether it happens through max int (up) or through
min int (down) for both and and sub.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Differential D148618
[SCEV] Support sub in and negative constants willNotOverflow mkazantsev on Apr 18 2023, 1:51 AM. Authored by
Details This lifts two TODOs from this function, allowing us to prove
Diff Detail
Unit Tests |
You don't need this else after return