[Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to...
[Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to indicate that overflow occurred Summary: Adds the ability for callers to detect when saturation occurred on the result of saturating addition/multiplication. Reviewers: davidxl, silvas, rsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14931 llvm-svn: 253921
Loading
Please sign in to comment