summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/add-with-overflow.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-21 02:03:52 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-21 02:03:52 +0000
commit74296c60ff44ae8dc251e9e79fd566e6f653c5ac (patch)
treed88390516ec792cafaa9fd946cc1b6c59ed5c5a3 /llvm/test/CodeGen/Generic/add-with-overflow.ll
parent45f1ae028e126314db9291280a7a750ae23f7518 (diff)
downloadbcm5719-llvm-74296c60ff44ae8dc251e9e79fd566e6f653c5ac.tar.gz
bcm5719-llvm-74296c60ff44ae8dc251e9e79fd566e6f653c5ac.zip
Implement the sadd_with_overflow intrinsic. This is converted into
"ISD::ADDO". ISD::ADDO is lowered into a target-independent form that does the addition and then checks if the result is less than one of the operands. (If it is, then there was an overflow.) llvm-svn: 59779
Diffstat (limited to 'llvm/test/CodeGen/Generic/add-with-overflow.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud