Nathan Slingerland 09a7daad01 [Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for returning overflow state
Summary:
Improve SaturatingAdd()/SaturatingMultiply() to use bool * to optionally return overflow result.
This should make it clearer that the value is returned at callsites and reduces the size of the implementation.

Reviewers: davidxl, silvas

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D15219

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255128 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-09 17:11:28 +00:00
..
2015-06-19 01:53:21 +00:00
2014-06-08 22:29:17 +00:00
2015-06-13 17:23:04 +00:00
2014-09-15 21:51:49 +00:00
2015-11-18 00:31:34 +00:00
2014-12-04 16:59:36 +00:00
2014-12-04 16:59:36 +00:00
2014-06-08 22:29:17 +00:00