llvm-6502/test/CodeGen
Chris Lattner ee9eb411ff on darwin empty functions need to codegen into something of non-zero length,
otherwise labels get incorrectly merged.  We handled this by emitting a 
".byte 0", but this isn't correct on thumb/arm targets where the text segment
needs to be a multiple of 2/4 bytes.  Handle this by emitting a noop.  This
is more gross than it should be because arm/ppc are not fully mc'ized yet.

This fixes rdar://7908505



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102400 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-26 23:37:21 +00:00
..
Alpha
ARM Update ARM DAGtoDAG for matching UBFX instruction for unsigned bitfield 2010-04-22 23:24:18 +00:00
Blackfin Start function numbering at 0. 2010-04-17 16:29:15 +00:00
CBackend
CellSPU teach cellspu how to return i8 and i16 from calls, 2010-04-20 05:36:09 +00:00
CPP
Generic fix PR6332, allowing an index of zero into a zero sized array 2010-04-17 19:02:33 +00:00
MBlaze
Mips Start function numbering at 0. 2010-04-17 16:29:15 +00:00
MSP430
PIC16
PowerPC on darwin empty functions need to codegen into something of non-zero length, 2010-04-26 23:37:21 +00:00
SPARC
SystemZ
Thumb Start function numbering at 0. 2010-04-17 16:29:15 +00:00
Thumb2 Handle register-to-register copies within the tGPR class. 2010-04-26 23:20:08 +00:00
X86 on darwin empty functions need to codegen into something of non-zero length, 2010-04-26 23:37:21 +00:00
XCore Start function numbering at 0. 2010-04-17 16:29:15 +00:00