Eric Christopher
|
2d8f6fe610
|
Custom lower f64 args passed in integer registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116977 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-21 00:01:47 +00:00 |
|
Eric Christopher
|
3659ac22c0
|
Fix a TODO by removing some unnecesary copies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116915 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-20 08:02:24 +00:00 |
|
Eric Christopher
|
6e5367d6a3
|
Revert r116220 - thus turning arm fast isel back on by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116762 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 22:53:53 +00:00 |
|
Eric Christopher
|
4cf34c6c04
|
Remove the check for invalid calling conventions. Testing shows that they're
working just fine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116698 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 06:49:12 +00:00 |
|
Eric Christopher
|
fa87d66752
|
Lift arg promotion from the X86 backend. This should be unified at some point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116694 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 02:17:53 +00:00 |
|
Eric Christopher
|
404be0c04f
|
Now that we handle all allocas via a non-SP reg offset remove all of the
special case handling for ARM::SP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116688 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 11:08:44 +00:00 |
|
Eric Christopher
|
ec8bf972f5
|
Allow more load types to be materialized through the allocas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116683 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 06:07:26 +00:00 |
|
Eric Christopher
|
d56d61af01
|
Optimize GEP off of intermediate allocas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116681 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 01:51:42 +00:00 |
|
Eric Christopher
|
7208dbf2d5
|
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116680 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 01:42:53 +00:00 |
|
Eric Christopher
|
dc0b0ef6cd
|
Turn on AddOperator folding in GEP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116679 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 01:41:46 +00:00 |
|
Eric Christopher
|
45c607134b
|
Use the i12 immediate versions of the load instructions - they're handled
more in the post-passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116678 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-17 01:40:27 +00:00 |
|
Eric Christopher
|
47650ece37
|
Fix some funky formatting that got through.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116653 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-16 01:10:35 +00:00 |
|
Eric Christopher
|
c9a91fdaf9
|
Make sure offset is 0 for load/store register to the stack call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116640 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-15 23:07:10 +00:00 |
|
Eric Christopher
|
315030ca74
|
Fix else if -> if in store machinery.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116628 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-15 22:32:37 +00:00 |
|
Eric Christopher
|
a322425642
|
Refactor ARM fast-isel reg + offset to be a base + offset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116622 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-15 21:32:12 +00:00 |
|
Eric Christopher
|
2896df897c
|
Expand GEP handling for constant offsets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116594 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-15 18:02:07 +00:00 |
|
Eric Christopher
|
eae8439771
|
Handle more complex GEP based loads and add a few TODOs to deal with
GEP + alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116474 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-14 09:29:41 +00:00 |
|
Jim Grosbach
|
95369599c6
|
A few 80 column fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116451 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 23:34:31 +00:00 |
|
Eric Christopher
|
a9c575110f
|
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116438 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 21:41:51 +00:00 |
|
Eric Christopher
|
ede42b0a22
|
Start handling more global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116401 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 09:11:46 +00:00 |
|
Eric Christopher
|
558cf007b5
|
Fix thinko in arm fast isel alloca rewrite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116339 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-12 21:23:43 +00:00 |
|
Eric Christopher
|
1541877941
|
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116296 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-12 05:39:06 +00:00 |
|
Eric Christopher
|
5532433a57
|
Handle a wider arrangement of loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116284 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-12 00:43:21 +00:00 |
|
Eric Christopher
|
5f9e8b971b
|
Use a sane mechanism for that assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116249 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 22:01:22 +00:00 |
|
Eric Christopher
|
050d16c2a9
|
We're not going to handle dynamic allocas anywhere else.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116240 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 21:37:35 +00:00 |
|
Eric Christopher
|
fb0b892f7e
|
Make sure that the call stack adjustments have default operands. Also
leave custom lowerings for later.
Fixes some nightly tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116232 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 21:20:02 +00:00 |
|
Eric Christopher
|
8ff9a9da0a
|
Found a bug turning this on by default. Disable again for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116220 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 20:26:21 +00:00 |
|
Eric Christopher
|
fa6b29dacd
|
Fix help text.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116218 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 20:15:02 +00:00 |
|
Eric Christopher
|
feadddd6b6
|
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116217 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 20:05:22 +00:00 |
|
Eric Christopher
|
a2efc5ff6e
|
Turn on arm fast isel by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116212 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 18:48:18 +00:00 |
|
Eric Christopher
|
a1640d9ed9
|
Copy and pasteo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116198 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 08:40:05 +00:00 |
|
Eric Christopher
|
dccd2c3c43
|
Whitespace cleanup in ARM fast isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116197 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 08:38:55 +00:00 |
|
Eric Christopher
|
6a880d6ba8
|
Add srem libcall support to ARM fast isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116196 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 08:37:26 +00:00 |
|
Eric Christopher
|
7bdc4de4e7
|
Add i8 sdiv support for ARM fast isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116195 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 08:31:54 +00:00 |
|
Eric Christopher
|
3bbd396853
|
Implement select handling for ARM fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116194 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-11 08:27:59 +00:00 |
|
Eric Christopher
|
e93417bcc8
|
Fix the store part of this as well. Fixes smg2000.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116123 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-08 23:52:16 +00:00 |
|
Eric Christopher
|
7a56f33583
|
Move to thumb2 loads, fixes a problem with incoming registers
as thumb1.
Fixes lencod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116027 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-08 01:13:17 +00:00 |
|
Eric Christopher
|
df1f5a924e
|
Remember to promote load/store types for stack to register size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115984 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 21:40:18 +00:00 |
|
Eric Christopher
|
ee56ea6243
|
Use the correct register class for load instructions - fixes
compilation of MultiSource/Benchmarks/Bullet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115907 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 05:50:44 +00:00 |
|
Eric Christopher
|
5d18d92aad
|
Use the correct register class here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115906 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 05:39:19 +00:00 |
|
Eric Christopher
|
338c253d7e
|
Use the thumb2 conditional move instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115905 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 05:31:49 +00:00 |
|
Eric Christopher
|
1107734e22
|
Remove in-progress assertion, add TODO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115904 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 05:14:08 +00:00 |
|
Eric Christopher
|
e540a6f94a
|
Comment out fastisel debugging message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115717 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 23:50:58 +00:00 |
|
Eric Christopher
|
022b7fb045
|
Random cleanup and make the intermediate register in fptosi a
32-bit fp reg, not 64-bit.
Fixes SingleSource.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115711 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 23:13:24 +00:00 |
|
Eric Christopher
|
890dbbec57
|
Start on lowering global addresses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115390 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-02 00:32:44 +00:00 |
|
Eric Christopher
|
c9932f6f60
|
Stub out constant GV handling, fixes C++ eh tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115375 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-01 23:24:42 +00:00 |
|
Eric Christopher
|
e6ca6771e3
|
Direct calls only for arm fast isel for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115350 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-01 21:33:12 +00:00 |
|
Eric Christopher
|
45547b844d
|
Fix thinko on store instructions. Fixes test_indvars failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115342 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-01 20:46:04 +00:00 |
|
Eric Christopher
|
14df88282b
|
Implement double return values in calls. Fixes
SingleSource/Regression/C/casts.c.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115246 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-01 00:00:11 +00:00 |
|
Eric Christopher
|
086378597d
|
Movement and cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115225 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-09-30 22:34:19 +00:00 |
|