1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/unittests
Nathan Slingerland 3b35892e68 [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

llvm-svn: 255128
2015-12-09 17:11:28 +00:00
..
ADT Handle ARMv6-J as an alias, instead of fake architecture 2015-11-20 16:46:09 +00:00
Analysis [AA] Enhance the new AliasAnalysis infrastructure with an optional 2015-10-21 12:15:19 +00:00
AsmParser Fix PR 24633 - Handle undef values when parsing standalone constants. 2015-09-09 13:44:33 +00:00
Bitcode
CodeGen
DebugInfo
ExecutionEngine [Orc] Removing traces of takeOwnershipOfBuffers left after r251560. 2015-12-07 17:35:56 +00:00
IR IR: Allow vectors of halfs to be ConstantDataVectors 2015-12-08 03:01:16 +00:00
LineEditor
Linker Always pass a diagnostic handler to the linker. 2015-12-04 22:08:53 +00:00
MC Add a RAW mode to StringTableBuilder. 2015-10-23 21:48:05 +00:00
Option [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
ProfileData Revert "[llvm-profdata] Add support for weighted merge of profile data" 2015-12-04 02:13:58 +00:00
Support [Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for returning overflow state 2015-12-09 17:11:28 +00:00
Transforms Return a std::unique_ptr from CloneModule. NFC. 2015-12-08 23:57:17 +00:00
CMakeLists.txt
Makefile
Makefile.unittest