diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-11-08 17:19:45 +0300 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-11-08 17:52:43 +0300 |
| commit | 9ca363d89c103b06b986f87c0eaf3e8a00b06947 (patch) | |
| tree | c0ae13a3fa5aa40ff16443bb9cf3861e41fb3c5e /llvm/lib/CodeGen/SjLjEHPrepare.cpp | |
| parent | 1f592ecf82381f8689c4a4c6c863591679b2f665 (diff) | |
| download | bcm5719-llvm-9ca363d89c103b06b986f87c0eaf3e8a00b06947.tar.gz bcm5719-llvm-9ca363d89c103b06b986f87c0eaf3e8a00b06947.zip | |
[APInt] Add saturating truncation methods
Summary:
The signed one is needed for implementation of `ConstantRange::smul_sat()`,
unsigned is for completeness only.
Reviewers: nikic, RKSimon, spatel
Reviewed By: nikic
Subscribers: hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69993
Diffstat (limited to 'llvm/lib/CodeGen/SjLjEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions

