Chris Lattner
d754041493
fix PR8961 - a fast isel miscompilation where we'd insert a new instruction
after sext's generated for addressing that got folded. Previously we compiled
test5 into:
_test5: ## @test5
## BB#0:
movq -8(%rsp), %rax ## 8-byte Reload
movq (%rdi,%rax), %rdi
addq %rdx, %rdi
movslq %esi, %rax
movq %rax, -8(%rsp) ## 8-byte Spill
movq %rdi, %rax
ret
which is insane and wrong. Now we produce:
_test5: ## @test5
## BB#0:
movslq %esi, %rax
movq (%rdi,%rax), %rax
addq %rdx, %rax
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123414 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-14 00:01:01 +00:00
..
2011-01-11 09:20:44 +00:00
2010-12-07 05:57:02 +00:00
2011-01-13 01:30:30 +00:00
2010-12-23 21:22:09 +00:00
2010-10-28 15:57:30 +00:00
2010-11-29 07:58:32 +00:00
2011-01-14 00:01:01 +00:00
2010-12-02 23:29:58 +00:00
2010-12-02 20:20:32 +00:00
2010-11-29 07:58:32 +00:00
2010-12-02 20:56:51 +00:00
2010-12-02 21:25:55 +00:00
2010-12-02 18:19:23 +00:00
2010-11-25 21:41:35 +00:00
2010-11-25 21:46:07 +00:00
2010-11-25 21:48:20 +00:00
2010-11-25 21:19:52 +00:00
2011-01-13 05:12:34 +00:00
2010-10-23 07:32:53 +00:00
2011-01-13 22:38:16 +00:00
2010-12-07 02:43:58 +00:00
2010-12-20 20:49:43 +00:00
2011-01-07 17:05:37 +00:00
2011-01-13 17:45:11 +00:00
2010-12-07 01:23:49 +00:00
2010-12-10 09:18:26 +00:00
2011-01-05 15:10:24 +00:00
2010-11-29 00:20:09 +00:00
2010-11-29 00:20:21 +00:00
2010-11-29 00:20:21 +00:00