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-01-05 01:24:50 +00:00
2009-11-23 18:04:58 +00:00
2010-04-15 06:10:49 +00:00
2010-04-15 01:51:59 +00:00
2010-04-15 04:33:49 +00:00
2010-04-15 04:33:49 +00:00
2010-04-15 01:51:59 +00:00
2010-03-25 04:41:16 +00:00
2010-04-15 01:25:27 +00:00
2010-04-15 01:25:27 +00:00
2010-04-15 01:25:27 +00:00
2010-04-15 01:01:55 +00:00
2010-03-14 21:08:40 +00:00
2010-04-15 01:25:27 +00:00
2010-01-09 02:13:55 +00:00
2010-04-15 01:25:27 +00:00
2010-01-24 20:43:08 +00:00
2010-01-21 21:44:43 +00:00
2010-01-05 01:24:43 +00:00
2010-04-07 05:20:54 +00:00
2010-03-25 07:16:57 +00:00
2010-04-07 05:20:54 +00:00
2010-04-15 01:51:59 +00:00
2009-12-22 21:35:02 +00:00
2010-04-15 01:51:59 +00:00
2010-04-15 04:33:49 +00:00
2010-04-15 01:51:59 +00:00
2010-04-15 04:33:49 +00:00
2010-01-05 01:24:45 +00:00
2010-04-15 01:51:59 +00:00