This is an archive of the discontinued LLVM Phabricator instance.

[ConstantRange] replacing addWithNoSignedWrap with addWithNoWrap - NFC
ClosedPublic

Authored by shchenz on Sep 30 2019, 6:12 AM.

Details

Summary

We add a new helper function addWithNoWrap in https://reviews.llvm.org/D67339.
Use it to replace addWithNoSignedWrap.

Diff Detail

Event Timeline

shchenz created this revision.Sep 30 2019, 6:12 AM
shchenz updated this revision to Diff 222408.Sep 30 2019, 6:22 AM

comment delete by mistake

lebedev.ri accepted this revision.Oct 1 2019, 3:50 PM

This seems like a no-review NFC cleanup to me, the addWithNoWrap() is expected to be at least not worse.
Thanks for going through adding the addWithNoWrap()!

This revision is now accepted and ready to land.Oct 1 2019, 3:50 PM
shchenz closed this revision.Oct 7 2019, 7:59 PM

Committed in rL374016