1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib
Chris Lattner 3bc741a0d2 recognize an unsigned add with overflow idiom into uadd.
This resolves a README entry and technically resolves PR4916,
but we still get poor code for the testcase in that PR because
GVN isn't CSE'ing uadd with add, filed as PR8817.

Previously we got:

_test7:                                 ## @test7
	addq	%rsi, %rdi
	cmpq	%rdi, %rsi
	movl	$42, %eax
	cmovaq	%rsi, %rax
	ret

Now we get:

_test7:                                 ## @test7
	addq	%rsi, %rdi
	movl	$42, %eax
	cmovbq	%rsi, %rax
	ret

llvm-svn: 122182
2010-12-19 19:37:52 +00:00
..
Analysis Make LazyValueInfo non-recursive. 2010-12-18 01:00:40 +00:00
Archive MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
AsmParser MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
Bitcode Generalize the darwin wrapper hack to work with generic macho triples as well as darwin ones. 2010-11-29 23:29:54 +00:00
CodeGen Remove some checks for StrongPHIElim. These checks make it impossible to use an 2010-12-19 18:03:27 +00:00
CompilerDriver Support/PathV1: Deprecate get{Basename,Dirname,Suffix}. 2010-12-18 22:23:07 +00:00
ExecutionEngine Remove unneeded zero arrays. 2010-12-04 15:28:22 +00:00
Linker Fix whitespace. 2010-12-18 22:23:15 +00:00
MC Fixed version of 122160 (the previous one would fold undefined symbols). 2010-12-19 04:18:56 +00:00
Object Fix mismatched new[]/delete. 2010-12-17 09:56:50 +00:00
Support Support/PathV1: Deprecate getLast. 2010-12-18 00:19:10 +00:00
Target recognize an unsigned add with overflow idiom into uadd. 2010-12-19 19:37:52 +00:00
Transforms recognize an unsigned add with overflow idiom into uadd. 2010-12-19 19:37:52 +00:00
VMCore Add support to CallbackVH to receive notification when a Value's use-list changes. 2010-12-18 00:07:15 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00