llvm-6502/test/CodeGen
Evan Cheng 2bd122c4d9 Loosen up iv reuse to allow reuse of the same stride but a larger type when truncating from the larger type to smaller type is free.
e.g.
Turns this loop:
LBB1_1: # entry.bb_crit_edge
        xorl    %ecx, %ecx
        xorw    %dx, %dx
        movw    %dx, %si
LBB1_2: # bb
        movl    L_X$non_lazy_ptr, %edi
        movw    %si, (%edi)
        movl    L_Y$non_lazy_ptr, %edi
        movw    %dx, (%edi)
		addw    $4, %dx
		incw    %si
		incl    %ecx
		cmpl    %eax, %ecx
		jne     LBB1_2  # bb
	
into

LBB1_1: # entry.bb_crit_edge
        xorl    %ecx, %ecx
        xorw    %dx, %dx
LBB1_2: # bb
        movl    L_X$non_lazy_ptr, %esi
        movw    %cx, (%esi)
        movl    L_Y$non_lazy_ptr, %esi
        movw    %dx, (%esi)
        addw    $4, %dx
		incl    %ecx
        cmpl    %eax, %ecx
        jne     LBB1_2  # bb


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43375 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-26 01:56:11 +00:00
..
Alpha Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
ARM Fix memcpy lowering when addresses are 4-byte aligned but size is not multiple of 4. 2007-10-22 22:11:27 +00:00
CBackend Change all floating constants that are not exactly 2007-09-05 17:50:36 +00:00
Generic -pre-RA-sched=none, simple, simple-noitin are gone. 2007-10-01 22:17:20 +00:00
IA64 Convert .cvsignore files 2007-06-29 16:35:07 +00:00
PowerPC If there's an unaligned memcpy to/from the stack, don't lower it. Just call the 2007-10-23 23:32:40 +00:00
SPARC Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
X86 Loosen up iv reuse to allow reuse of the same stride but a larger type when truncating from the larger type to smaller type is free. 2007-10-26 01:56:11 +00:00