Chris Lattner
e6987587d6
enhance the load/store narrowing optimization to handle a
tokenfactor in between the load/store. This allows us to
optimize test7 into:
_test7: ## @test7
## BB#0: ## %entry
movl (%rdx), %eax
## kill: SIL<def> ESI<kill>
movb %sil, 5(%rdi)
ret
instead of:
_test7: ## @test7
## BB#0: ## %entry
movl 4(%esp), %ecx
movl $-65281, %eax ## imm = 0xFFFFFFFFFFFF00FF
andl 4(%ecx), %eax
movzbl 8(%esp), %edx
shll $8, %edx
addl %eax, %edx
movl 12(%esp), %eax
movl (%eax), %eax
movl %edx, 4(%ecx)
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101355 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-15 06:10:49 +00:00
..
2010-04-12 07:49:36 +00:00
2010-02-04 07:11:08 +00:00
2010-04-07 22:53:17 +00:00
2010-03-06 00:30:06 +00:00
2010-04-07 22:53:17 +00:00
2010-04-15 06:10:49 +00:00
2010-04-13 23:23:09 +00:00
2010-03-02 01:11:08 +00:00
2010-03-29 17:36:02 +00:00
2010-04-08 18:03:05 +00:00
2010-04-06 21:38:29 +00:00
2010-03-25 01:46:07 +00:00
2010-02-23 07:56:28 +00:00
2010-03-21 08:12:46 +00:00
2010-04-15 03:47:20 +00:00
2010-04-09 01:39:53 +00:00
2010-03-19 00:32:11 +00:00
2010-03-27 04:59:47 +00:00
2010-04-14 20:22:17 +00:00
2010-02-25 06:34:33 +00:00
2010-04-04 03:10:48 +00:00
2010-03-10 18:41:59 +00:00
2010-03-20 23:08:45 +00:00
2010-02-25 06:34:33 +00:00
2010-02-23 10:28:06 +00:00
2010-02-23 07:56:28 +00:00