1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib
Chris Lattner 878d951f8f optimize the case of cond ? 42 : 41 and friends. This compiles the
example to:

_test:
	movl	4(%esp), %eax
	cmpl	$41, (%eax)
	setg	%al
	movzbl	%al, %eax
	orl	$4294967294, %eax
	ret

instead of:

        movl    4(%esp), %eax
        cmpl    $41, (%eax)
	movl	$4294967294, %ecx
	movl	$4294967295, %eax
	cmova	%ecx, %eax
	ret

which is smaller in code size and faster. rdar://6668608

llvm-svn: 66868
2009-03-13 05:22:11 +00:00
..
Analysis Oops...I committed too much. 2009-03-13 04:39:26 +00:00
Archive
AsmParser It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
Bitcode It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
CodeGen Oops...I committed too much. 2009-03-13 04:39:26 +00:00
CompilerDriver Reorganize llvmc code. 2009-03-02 09:01:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Allow cross-process JIT to handle MachineRelocations of the ExternalSymbol 2009-03-11 07:03:43 +00:00
Linker Apply ODR linkage changes accidentally dropped during 2009-03-08 13:35:23 +00:00
Support just initialize the first element, we don't need to set the rest to zeros. 2009-03-13 00:24:01 +00:00
System add some explicit llvm:: qualifiers to the unix side, fix problems on the windows side. 2009-03-08 19:13:45 +00:00
Target optimize the case of cond ? 42 : 41 and friends. This compiles the 2009-03-13 05:22:11 +00:00
Transforms Oops...I committed too much. 2009-03-13 04:39:26 +00:00
VMCore Rearrange operands of the BranchInst, to be able to 2009-03-12 18:34:49 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00