Files
llvm-6502/test/CodeGen/X86
Chris Lattner cee56e7d33 generalize the previous code to use the full generality of LEA
for i32/i64 expressions (we could also do i16 on cpus where
i16 lea is fast, but I didn't add this).  On the example, we now
generate:

_test:
	movl	4(%esp), %eax
	cmpl	$42, (%eax)
	setl	%al
	movzbl	%al, %eax
	leal	4(%eax,%eax,8), %eax
	ret

instead of:

_test:
	movl	4(%esp), %eax
	cmpl	$41, (%eax)
	movl	$4, %ecx
	movl	$13, %eax
	cmovg	%ecx, %eax
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66869 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 05:53:31 +00:00
..
2008-06-27 03:14:20 +00:00
2009-02-12 17:04:57 +00:00
2008-12-19 10:55:56 +00:00
2008-10-01 15:07:14 +00:00
2008-08-29 22:59:13 +00:00
2009-03-12 23:01:35 +00:00
2008-06-12 21:23:38 +00:00
2008-09-05 20:04:37 +00:00
2008-11-27 00:37:06 +00:00
2009-02-09 23:32:07 +00:00
2009-03-12 17:07:39 +00:00
2009-03-04 02:47:25 +00:00
2008-10-24 21:20:25 +00:00
2009-01-21 21:28:03 +00:00
2009-01-20 19:29:54 +00:00
2009-01-15 20:18:42 +00:00
2009-02-13 22:36:38 +00:00
2009-01-07 01:48:08 +00:00
2009-03-11 22:40:04 +00:00
2009-03-11 22:40:04 +00:00
2009-03-01 02:03:43 +00:00
2009-03-01 02:03:43 +00:00
2008-07-25 19:08:59 +00:00
2008-07-17 19:48:04 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00