diff options
| author | Bill Wendling <isanbard@gmail.com> | 2008-11-21 00:05:31 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2008-11-21 00:05:31 +0000 |
| commit | 3d9cdd44840407641f25b88dc5c859c5f18516f6 (patch) | |
| tree | a2b898a49e9a74a03ae3280ec19ac3ee02422bd7 /llvm/test/CodeGen/Generic/add-with-overflow.ll | |
| parent | 50ff154ea506f1ee94e25a8a8b9e0e1167928ca8 (diff) | |
| download | llvm-3d9cdd44840407641f25b88dc5c859c5f18516f6.zip llvm-3d9cdd44840407641f25b88dc5c859c5f18516f6.tar.gz llvm-3d9cdd44840407641f25b88dc5c859c5f18516f6.tar.bz2 | |
Introduce two new "add" intrinsics. These return the sum plus a bit indicating
that an overflow/carry occured. These are converted into ISD::[SU]ADDO nodes,
which are lowered in a target-independent way into something sane. Eventually,
each target can implement their own method of checking the overflow/carry flags.
llvm-svn: 59756
Diffstat (limited to 'llvm/test/CodeGen/Generic/add-with-overflow.ll')
0 files changed, 0 insertions, 0 deletions
