llvm-6502/lib/Target
Chris Lattner 4fca01731a 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25335 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-15 09:26:27 +00:00
..
Alpha bswap implementation 2006-01-14 03:14:10 +00:00
CBackend
IA64 Cleanup IA64ISD, tell the graph drawer what the symbolic names for the enums are. 2006-01-14 22:27:21 +00:00
PowerPC Use the default impl of DYNAMIC_STACKALLOC, allowing us to delete some code. 2006-01-15 09:02:48 +00:00
Skeleton
Sparc Don't print a label for the first MBB in a function. 2006-01-15 09:26:27 +00:00
SparcV8 Don't print a label for the first MBB in a function. 2006-01-15 09:26:27 +00:00
SparcV9
X86 Use the default lowering of ISD::DYNAMIC_STACKALLOC, delete now dead code. 2006-01-15 09:00:21 +00:00
Makefile
MRegisterInfo.cpp
SubtargetFeature.cpp
Target.td
TargetData.cpp
TargetFrameInfo.cpp
TargetInstrInfo.cpp
TargetMachine.cpp
TargetMachineRegistry.cpp
TargetSchedInfo.cpp
TargetSchedule.td
TargetSelectionDAG.td bswap implementation 2006-01-14 03:14:10 +00:00
TargetSubtarget.cpp