1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib
Chris Lattner a91c75e676 Don't print a label for the first MBB in a function.
Compile this:

%_2E_str_8 = external global [75 x sbyte]
implementation   ; Functions:
declare int %printf(sbyte*, ...)
void %test()
        %tmp.101 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([75 x sbyte]* %_2E_str_8, int 0, int 0) )             ; <int> [#uses=0]
        unreachable
}

to this:

main_endif_2E_8:
        save -96, %o6, %o6
        sethi %hi(_2E_str_8), %l0
        add %l0, %lo(_2E_str_8), %o0
        call printf
        nop

instead of this:

main_endif_2E_8:
        save -96, %o6, %o6
        sethi %hi(_2E_str_8), %l0
        or %g0, %lo(_2E_str_8), %l1   ;; extra instruction
        add %l1, %l0, %o0
        call printf
        nop

llvm-svn: 25335
2006-01-15 09:26:27 +00:00
..
Analysis Change ET-Forest to automatically recalculate its DFSnum's if too many slow 2006-01-14 20:55:09 +00:00
AsmParser Regenerate these files. FreeBSD apparently has issues with the version of 2006-01-11 02:07:51 +00:00
Bytecode Added bytecode support for the extractelement operation. 2006-01-10 19:04:39 +00:00
CodeGen Allow the target to specify 'expand' if they just require the amount to 2006-01-15 08:54:32 +00:00
Debugger dum de dum 2005-12-26 10:24:15 +00:00
ExecutionEngine Wrap long lines. 2006-01-07 06:20:51 +00:00
Linker For PR521: 2006-01-10 03:14:40 +00:00
Support HP aCC chokes on this, but it's not required anyway: according to 2005-12-26 05:00:25 +00:00
System For PR351: 2005-12-22 20:00:16 +00:00
Target Don't print a label for the first MBB in a function. 2006-01-15 09:26:27 +00:00
Transforms Let the inliner update the callgraph to reflect the changes it makes, instead 2006-01-14 20:09:18 +00:00
VMCore add a missing break that Reid noticed. 2006-01-15 08:40:16 +00:00
Makefile