Bill Wendling
|
410ec4aad1
|
As Dan pointed out, movzbl, movsbl, and friends are nicer than their alias
(movzx/movsx) because they give more information. Revert that part of the patch.
llvm-svn: 129498
|
2011-04-14 01:46:37 +00:00 |
Bill Wendling
|
7e07d6fb69
|
Have the X86 back-end emit the alias instead of what's being aliased. In most
cases, it's much nicer and more informative reading the alias.
llvm-svn: 129497
|
2011-04-14 01:11:51 +00:00 |
Dan Gohman
|
c1783b31a4
|
Fix fast-isel address mode folding to avoid folding instructions
outside of the current basic block. This fixes PR9500, rdar://9156159.
llvm-svn: 128041
|
2011-03-22 00:04:35 +00:00 |
NAKAMURA Takumi
|
eaf128bde6
|
Relax expressions and add explicit triplets -linux and -win32.
llvm-svn: 126202
|
2011-02-22 07:20:02 +00:00 |
Chris Lattner
|
2d186574a6
|
reapply my fix for PR8961 with a tweak to properly handle
multi-instruction sequences like calls. Many thanks to Jakob for
finding a testcase.
llvm-svn: 123559
|
2011-01-16 02:27:38 +00:00 |
Chris Lattner
|
e93e4f118c
|
revert my fastisel patch again which apparently still gives the
llvm-gcc-i386-linux-selfhost buildbot heartburn...
llvm-svn: 123431
|
2011-01-14 06:14:33 +00:00 |
Chris Lattner
|
5ca1391003
|
reapply r123414 now that the botz are calmed down and the fix is already in.
llvm-svn: 123427
|
2011-01-14 04:24:28 +00:00 |
Chris Lattner
|
21a64979f1
|
r123414 broke llvm-gcc bootstrap apparently, revert
llvm-svn: 123422
|
2011-01-14 02:07:32 +00:00 |
Chris Lattner
|
0c34cb429e
|
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
llvm-svn: 123414
|
2011-01-14 00:01:01 +00:00 |
Dan Gohman
|
103c4ebea5
|
Use the source-order scheduler instead of the "fast" scheduler at -O0,
because it's more likely to keep debug line information in its original
order.
llvm-svn: 108496
|
2010-07-16 02:01:19 +00:00 |
Dan Gohman
|
e75704369d
|
Revert 107840 107839 107813 107804 107800 107797 107791.
Debug info intrinsics win for now.
llvm-svn: 107850
|
2010-07-08 01:00:56 +00:00 |
Dan Gohman
|
2d4d01d0de
|
Add X86FastISel support for return statements. This entails refactoring
a bunch of stuff, to allow the target-independent calling convention
logic to be employed.
llvm-svn: 107800
|
2010-07-07 18:32:53 +00:00 |
Dan Gohman
|
7937d5606d
|
Teach X86FastISel to fold constant offsets and scaled indices in
the same address.
llvm-svn: 107373
|
2010-07-01 02:27:15 +00:00 |
Chris Lattner
|
db4916a123
|
fix PR4984 by ensuring that fastisel adds properly sign extended GEP displacement
values to machineinstrs.
llvm-svn: 81886
|
2009-09-15 18:27:02 +00:00 |
Chris Lattner
|
c25359e1a3
|
rename test
llvm-svn: 81884
|
2009-09-15 18:23:37 +00:00 |