Skip to content
Commit 2e1d85a0 authored by Nathan Slingerland's avatar Nathan Slingerland
Browse files

[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
parent d5658b08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment