llvm/lib
Louis Gerbarg 7a9fbab182 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208435 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-09 17:02:49 +00:00
..
Analysis Correct formatting. 2014-05-08 21:43:19 +00:00
AsmParser IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
Bitcode IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
CodeGen ARM: HFAs must be passed in consecutive registers 2014-05-09 14:01:47 +00:00
DebugInfo [DWARF parser] Cleanup code in DWARFDebugLine. 2014-04-30 00:09:19 +00:00
ExecutionEngine [RuntimeDyld] Unify the RuntimeDyldMachO resolve.*Relocation method signatures 2014-05-09 00:11:18 +00:00
IR Run clang-format in small sections of code to make a patch easier to read. 2014-05-09 15:49:02 +00:00
IRReader [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 2014-04-15 06:32:26 +00:00
LineEditor
Linker Delete trailing whitespace. 2014-05-09 14:39:25 +00:00
LTO LTO: Check local linkage first 2014-05-07 22:53:14 +00:00
MC Remove the UseCFI option from createAsmStreamer. 2014-05-07 13:00:43 +00:00
Object [yaml2obj] Support ELF x86 relocations. 2014-05-07 17:06:38 +00:00
Option Protect the ArgList dtor 2014-04-20 23:59:00 +00:00
ProfileData Fixing a cast-qual warning. getBufferStart() and getBufferEnd() both return a const char *, so casting to non-const was triggering a warning (even though the assignment and usage was always const anyway). 2014-05-01 17:16:24 +00:00
Support MemoryBuffer: don't force mmap when stat fails 2014-05-09 08:57:32 +00:00
TableGen Use a vector of unique_ptrs to fix a memory leak introduced in r208179. 2014-05-08 09:29:28 +00:00
Target Add custom lowering for add/sub with overflow intrinsics to ARM 2014-05-09 17:02:49 +00:00
Transforms Add ExtractValue instruction to SimplifyCFG's ComputeSpeculationCost 2014-05-09 17:02:46 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile