Chris Lattner 07649d9265 Make load->store deletion a bit smarter. This allows us to compile this:
void test(long long *P) { *P ^= 1; }

into just:

_test:
	movl	4(%esp), %eax
	xorl	$1, (%eax)
	ret

instead of code like this:

_test:
	movl	4(%esp), %ecx
        xorl    $1, (%ecx)
	movl	4(%ecx), %edx
	movl	%edx, 4(%ecx)
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45762 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-08 23:08:06 +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-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-11-02 17:36:58 +00:00
2007-11-16 23:55:08 +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-12-29 06:57:38 +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-10-29 22:07:18 +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-11-09 20:46:00 +00:00
2007-11-24 05:39:29 +00:00
2007-10-08 22:20:32 +00:00
2007-04-16 15:31:49 +00:00
2007-12-29 08:19:39 +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-12-06 22:12:45 +00:00
2007-12-29 19:24:06 +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