diff options
author | JF Bastien <jfbastien@apple.com> | 2019-07-31 19:40:07 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2019-07-31 19:40:07 +0000 |
commit | fe968c3639539ddd73c506cd3332dc0a086a3924 (patch) | |
tree | 7a68ad59ae65e56e974af329c579f6ee8dd342b4 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | f724b460bd9bf616a2856e416a71fcbc36f839de (diff) | |
download | llvm-fe968c3639539ddd73c506cd3332dc0a086a3924.zip llvm-fe968c3639539ddd73c506cd3332dc0a086a3924.tar.gz llvm-fe968c3639539ddd73c506cd3332dc0a086a3924.tar.bz2 |
[Support] Added overflow checking add, sub and mul.
Added AddOverflow, SubOverflow and MulOverflow to compute truncated results and return a flag indicating whether overflow occured.
Differential Revision: https://reviews.llvm.org/D65494
llvm-svn: 367470
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions