diff options
author | Louis Gerbarg <lgg@apple.com> | 2014-05-09 17:02:49 +0000 |
---|---|---|
committer | Louis Gerbarg <lgg@apple.com> | 2014-05-09 17:02:49 +0000 |
commit | 3342bf1451f4d0844ca9355abc976cdadecbfac1 (patch) | |
tree | 8f9f6d7e64673e43dd72776de79729869c7449c5 /clang/lib/Analysis/ThreadSafetyCommon.cpp | |
parent | 1f54b821643b8a246a7a6161847caa177b81ee64 (diff) | |
download | bcm5719-llvm-3342bf1451f4d0844ca9355abc976cdadecbfac1.tar.gz bcm5719-llvm-3342bf1451f4d0844ca9355abc976cdadecbfac1.zip |
Add custom lowering for add/sub with overflow intrinsics to ARM
This patch adds support to ARM for custom lowering of the
llvm.{u|s}add.with.overflow.i32 intrinsics for i32/i64. This is particularly useful
for handling idiomatic saturating math functions as generated by
InstCombineCompare.
Test cases included.
rdar://14853450
llvm-svn: 208435
Diffstat (limited to 'clang/lib/Analysis/ThreadSafetyCommon.cpp')
0 files changed, 0 insertions, 0 deletions