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
..
2007-04-16 15:15:52 +00:00
2007-08-30 16:07:20 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:31:49 +00:00
2007-10-14 05:57:21 +00:00
2007-04-26 01:14:14 +00:00
2007-07-19 23:53:29 +00:00
2007-07-19 23:13:04 +00:00
2007-05-16 06:14:10 +00:00
2007-05-17 18:49:50 +00:00
2007-07-19 23:13:04 +00:00
2007-06-05 01:45:08 +00:00
2007-06-29 00:27:18 +00:00
2007-06-29 23:17:15 +00:00
2007-06-29 21:40:30 +00:00
2007-08-01 00:10:12 +00:00
2007-08-13 18:42:37 +00:00
2007-09-18 22:56:31 +00:00
2007-10-05 01:44:22 +00:00
2007-10-12 09:10:27 +00:00
2007-10-13 03:10:54 +00:00
2007-10-13 03:10:54 +00:00
2007-10-15 16:35:13 +00:00
2007-10-16 19:29:47 +00:00
2007-10-19 22:05:00 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 14:20:28 +00:00
2007-04-16 15:15:52 +00:00
2007-04-30 05:11:58 +00:00
2007-09-25 17:50:55 +00:00
2007-05-19 01:22:52 +00:00
2007-05-17 03:29:17 +00:00
2007-04-16 17:36:08 +00:00
2007-09-25 17:50:55 +00:00
2007-05-03 18:20:17 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-10-08 22:20:32 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 14:23:07 +00:00
2007-04-16 20:04:11 +00:00
2007-10-12 07:49:48 +00:00
2007-08-15 13:45:35 +00:00
2007-04-26 00:07:36 +00:00
2007-04-16 17:36:08 +00:00
2007-06-29 00:27:18 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-07-19 23:13:04 +00:00