aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-07-31 19:40:07 +0000
committerJF Bastien <jfbastien@apple.com>2019-07-31 19:40:07 +0000
commitfe968c3639539ddd73c506cd3332dc0a086a3924 (patch)
tree7a68ad59ae65e56e974af329c579f6ee8dd342b4 /llvm/lib/CodeGen/MachineOperand.cpp
parentf724b460bd9bf616a2856e416a71fcbc36f839de (diff)
downloadllvm-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