Page MenuHomePhabricator

[APInt} Add saturating multiply ops

Authored by lebedev.ri on Thu, Oct 24, 10:47 AM.



There are *_ov() functions already, so at least for consistency it may be good to also have saturating variants.
These may or may not be needed for ConstantRange's mulWithNoWrap()

Diff Detail

Event Timeline

lebedev.ri created this revision.Thu, Oct 24, 10:47 AM
nikic accepted this revision.Thu, Oct 24, 11:42 AM


This revision is now accepted and ready to land.Thu, Oct 24, 11:42 AM
This revision was automatically updated to reflect the committed changes.