llvm-6502/test/CodeGen
Chris Lattner e03b8d3162 Handle i1/i8/i16 constant integer arguments to calls by prepromoting them.
Before we would bail out on i1 arguments all together, now we just bail on
non-constant ones.  Also, we used to emit extraneous code.  e.g. test12 was:

	movb	$0, %al
	movzbl	%al, %edi
	callq	_test12

and test13 was:
	movb	$0, %al
	xorl	%edi, %edi
	movb	%al, 7(%rsp)
	callq	_test13f

Now we get:

	movl	$0, %edi
	callq	_test12
and:
	movl	$0, %edi
	callq	_test13f



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129751 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-19 04:42:38 +00:00
..
Alpha
ARM Make tests register allocation independent again. 2011-04-19 00:14:43 +00:00
Blackfin
CBackend
CellSPU
CPP
Generic
MBlaze
Mips Make tests register allocation independent again. 2011-04-19 00:14:43 +00:00
MSP430
PowerPC
PTX
SPARC
SystemZ
Thumb Make tests register allocation independent again. 2011-04-19 00:14:43 +00:00
Thumb2
X86 Handle i1/i8/i16 constant integer arguments to calls by prepromoting them. 2011-04-19 04:42:38 +00:00
XCore