Eric Christopher
|
e4b3d6b379
|
Expand GEP handling for constant offsets.
llvm-svn: 116594
|
2010-10-15 18:02:07 +00:00 |
|
Eric Christopher
|
21d0c173f4
|
Handle more complex GEP based loads and add a few TODOs to deal with
GEP + alloca.
llvm-svn: 116474
|
2010-10-14 09:29:41 +00:00 |
|
Jim Grosbach
|
340cd5174b
|
A few 80 column fixes.
llvm-svn: 116451
|
2010-10-13 23:34:31 +00:00 |
|
Eric Christopher
|
ef83e21b57
|
Update comment.
llvm-svn: 116438
|
2010-10-13 21:41:51 +00:00 |
|
Eric Christopher
|
dd0821e7ff
|
Start handling more global variables.
llvm-svn: 116401
|
2010-10-13 09:11:46 +00:00 |
|
Eric Christopher
|
22e051eef0
|
Fix thinko in arm fast isel alloca rewrite.
llvm-svn: 116339
|
2010-10-12 21:23:43 +00:00 |
|
Eric Christopher
|
7cd5cda6bb
|
Rework alloca handling so that we can load or store from casted
address that we've looked through.
Fixes compilation problems in tramp3d from earlier patch.
llvm-svn: 116296
|
2010-10-12 05:39:06 +00:00 |
|
Eric Christopher
|
db3bcc9910
|
Handle a wider arrangement of loads.
llvm-svn: 116284
|
2010-10-12 00:43:21 +00:00 |
|
Eric Christopher
|
d42340ecfd
|
Use a sane mechanism for that assert.
llvm-svn: 116249
|
2010-10-11 22:01:22 +00:00 |
|
Eric Christopher
|
72b91c1765
|
We're not going to handle dynamic allocas anywhere else.
llvm-svn: 116240
|
2010-10-11 21:37:35 +00:00 |
|
Eric Christopher
|
71ef1af66b
|
Make sure that the call stack adjustments have default operands. Also
leave custom lowerings for later.
Fixes some nightly tests.
llvm-svn: 116232
|
2010-10-11 21:20:02 +00:00 |
|
Eric Christopher
|
e2a0b6841a
|
Found a bug turning this on by default. Disable again for now.
llvm-svn: 116220
|
2010-10-11 20:26:21 +00:00 |
|
Eric Christopher
|
46cc854e5e
|
Fix help text.
llvm-svn: 116218
|
2010-10-11 20:15:02 +00:00 |
|
Eric Christopher
|
5501b7e805
|
Change flag from Enable to Disable since we're enabled by default.
Also don't use fast-isel on non-darwin since it's untested.
llvm-svn: 116217
|
2010-10-11 20:05:22 +00:00 |
|
Eric Christopher
|
2276e87a65
|
Turn on arm fast isel by default.
llvm-svn: 116212
|
2010-10-11 18:48:18 +00:00 |
|
Eric Christopher
|
e1bcb43bb9
|
Copy and pasteo.
llvm-svn: 116198
|
2010-10-11 08:40:05 +00:00 |
|
Eric Christopher
|
7ac602bc8e
|
Whitespace cleanup in ARM fast isel.
llvm-svn: 116197
|
2010-10-11 08:38:55 +00:00 |
|
Eric Christopher
|
eae1b38550
|
Add srem libcall support to ARM fast isel.
llvm-svn: 116196
|
2010-10-11 08:37:26 +00:00 |
|
Eric Christopher
|
e11017c19e
|
Add i8 sdiv support for ARM fast isel.
llvm-svn: 116195
|
2010-10-11 08:31:54 +00:00 |
|
Eric Christopher
|
511aa31965
|
Implement select handling for ARM fast-isel.
llvm-svn: 116194
|
2010-10-11 08:27:59 +00:00 |
|
Eric Christopher
|
548587c31c
|
Fix the store part of this as well. Fixes smg2000.
llvm-svn: 116123
|
2010-10-08 23:52:16 +00:00 |
|
Eric Christopher
|
15bc2438d9
|
Move to thumb2 loads, fixes a problem with incoming registers
as thumb1.
Fixes lencod.
llvm-svn: 116027
|
2010-10-08 01:13:17 +00:00 |
|
Eric Christopher
|
3e1e447ca2
|
Remember to promote load/store types for stack to register size.
llvm-svn: 115984
|
2010-10-07 21:40:18 +00:00 |
|
Eric Christopher
|
a2583ea9f2
|
Use the correct register class for load instructions - fixes
compilation of MultiSource/Benchmarks/Bullet.
llvm-svn: 115907
|
2010-10-07 05:50:44 +00:00 |
|
Eric Christopher
|
76a9752d45
|
Use the correct register class here.
llvm-svn: 115906
|
2010-10-07 05:39:19 +00:00 |
|
Eric Christopher
|
a98be90efe
|
Use the thumb2 conditional move instruction.
llvm-svn: 115905
|
2010-10-07 05:31:49 +00:00 |
|
Eric Christopher
|
6d74673366
|
Remove in-progress assertion, add TODO.
llvm-svn: 115904
|
2010-10-07 05:14:08 +00:00 |
|
Eric Christopher
|
b9f2d50d5f
|
Comment out fastisel debugging message.
llvm-svn: 115717
|
2010-10-05 23:50:58 +00:00 |
|
Eric Christopher
|
8cfc459274
|
Random cleanup and make the intermediate register in fptosi a
32-bit fp reg, not 64-bit.
Fixes SingleSource.
llvm-svn: 115711
|
2010-10-05 23:13:24 +00:00 |
|
Eric Christopher
|
7787f79f21
|
Start on lowering global addresses.
llvm-svn: 115390
|
2010-10-02 00:32:44 +00:00 |
|
Eric Christopher
|
83a5ec8fe0
|
Stub out constant GV handling, fixes C++ eh tests.
llvm-svn: 115375
|
2010-10-01 23:24:42 +00:00 |
|
Eric Christopher
|
9d0136274b
|
Direct calls only for arm fast isel for now.
llvm-svn: 115350
|
2010-10-01 21:33:12 +00:00 |
|
Eric Christopher
|
6080da7a79
|
Fix thinko on store instructions. Fixes test_indvars failure.
llvm-svn: 115342
|
2010-10-01 20:46:04 +00:00 |
|
Eric Christopher
|
c1e209d40e
|
Implement double return values in calls. Fixes
SingleSource/Regression/C/casts.c.
llvm-svn: 115246
|
2010-10-01 00:00:11 +00:00 |
|
Eric Christopher
|
56094ff402
|
Movement and cleanup.
llvm-svn: 115225
|
2010-09-30 22:34:19 +00:00 |
|
Eric Christopher
|
78f8d4eaf0
|
Start of generalized call support for ARM fast isel.
llvm-svn: 115203
|
2010-09-30 20:49:44 +00:00 |
|
Eric Christopher
|
7939806ecc
|
Refactor arm fast isel libcall handling so that pieces can be used
for generic call handling.
llvm-svn: 115105
|
2010-09-29 23:11:09 +00:00 |
|
Eric Christopher
|
b024be3162
|
Add a convenience variable so I'm not chasing all over looking for
a context.
llvm-svn: 115094
|
2010-09-29 22:24:45 +00:00 |
|
Eric Christopher
|
3a7e8cd6bd
|
Rework comparison handling to set a register on true/false. This avoids
problems with phi-nodes in blocks that have hard and not virtual registers.
Accordingly update branch handling to compensate.
llvm-svn: 115013
|
2010-09-29 01:14:47 +00:00 |
|
Eric Christopher
|
edd4b600f3
|
Remove unnecessary set ahead of time.
llvm-svn: 115011
|
2010-09-29 00:50:57 +00:00 |
|
Eric Christopher
|
2c8e7f421c
|
Remove assert, add comment.
llvm-svn: 115009
|
2010-09-29 00:49:09 +00:00 |
|
Eric Christopher
|
a86a6d2fed
|
32-bit constant ints only for now.
llvm-svn: 115001
|
2010-09-28 22:47:54 +00:00 |
|
Eric Christopher
|
953b1afd5f
|
Integer materialization needed the same thinko change.
llvm-svn: 114994
|
2010-09-28 21:55:34 +00:00 |
|
Eric Christopher
|
7990df1ae2
|
Rework builtin handling and call setup. The builtin handling
now takes a libcall operand, sets up the arguments correctly and
handles stack adjustments.
llvm-svn: 114934
|
2010-09-28 01:21:42 +00:00 |
|
Eric Christopher
|
6f98bfd870
|
Fix fp constant loads to have a destination register.
llvm-svn: 114930
|
2010-09-28 00:35:09 +00:00 |
|
Eric Christopher
|
0720611e3a
|
Insert missing coherency in comment. Add a quick check for hardware
divide support also.
llvm-svn: 114813
|
2010-09-27 06:08:12 +00:00 |
|
Eric Christopher
|
29ab6d1f82
|
Mass rename for Jim.
llvm-svn: 114812
|
2010-09-27 06:02:23 +00:00 |
|
Eric Christopher
|
a6ba082cb6
|
Thumb opcodes for thumb calls.
llvm-svn: 114263
|
2010-09-18 02:32:38 +00:00 |
|
Eric Christopher
|
aef6499bf1
|
Add addrmode5 fp load support. Swap float/thumb operand adding to handle
thumb with floating point.
llvm-svn: 114256
|
2010-09-18 01:59:37 +00:00 |
|
Eric Christopher
|
30f2300ed2
|
Floating point stores have a 3rd addressing mode type.
llvm-svn: 114254
|
2010-09-18 01:23:38 +00:00 |
|