Commit Graph

19052 Commits

Author SHA1 Message Date
Chris Lattner
e89083a930 Use the general mechanism for creating multi-value nodes instead of using
special case hacks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22014 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 07:25:05 +00:00
Chris Lattner
955c07cab0 Ensure these casts are done with the hardware fildll instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22013 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 07:09:25 +00:00
Chris Lattner
67649dfc32 use a target-specific node and custom expander to lower long->FP to FILD64m.
This should fix some missing symbols problems on BSD and improve performance
of programs that use that operation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22012 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:52:07 +00:00
Chris Lattner
5fa4fa4e0f Wrap long line, actually add node to the graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22011 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:42:57 +00:00
Chris Lattner
d73cc5d058 legalize target-specific operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22010 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:34:48 +00:00
Chris Lattner
89c34637cb add a getNode() version that allows construction of any node type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22009 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:20:26 +00:00
Chris Lattner
4211e73c49 Add a way to construct an arbitrary node, cleanly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22008 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:20:08 +00:00
Chris Lattner
50f5a51f41 add accessors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22007 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 06:19:11 +00:00
Reid Spencer
0b2bc7e36f Some minor adjustments for the 1.5 release.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22006 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:52:07 +00:00
Chris Lattner
bc83996b31 Pass the dag into LowerOperation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22005 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:51:05 +00:00
Chris Lattner
50381b6c41 LowerOperation takes a dag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22004 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:50:48 +00:00
Duraid Madina
2e36d6ecb4 add a bit about the known problems on IA64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22003 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:48:13 +00:00
Chris Lattner
38135af219 Print the symbolic register name in a register allocator debug dump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22002 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:34:15 +00:00
Chris Lattner
a88a260dbd Allow targets to have a custom int64->fp expander if desired
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22001 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 05:33:54 +00:00
Chris Lattner
eb99a451e8 this passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22000 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 02:35:38 +00:00
Chris Lattner
4032b9c94c Fix this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21999 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 02:33:20 +00:00
Chris Lattner
120bc6da2f minor changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21998 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 01:30:15 +00:00
Chris Lattner
a5a4f265f0 user ops are not encoded in the bc format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21997 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 01:26:46 +00:00
Reid Spencer
a5681773ab Document the pseudo-instruction opcodes in opcode range 56-63. These are
used to support things like volatile load/store, tail calls, and calling
conventions without reserving space for the additional information.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21996 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 00:06:06 +00:00
Chris Lattner
10d2645710 Make sure the start of the arg area and the end (after the RA is pushed)
is always 8-byte aligned for fastcc


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21995 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 23:49:10 +00:00
Chris Lattner
bfed9247f1 fix the assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21994 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 23:35:47 +00:00
Chris Lattner
a8217e3000 Align doubles on 8-byte boundaries if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21993 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 23:14:17 +00:00
Chris Lattner
0db07092a7 print stack object alignment in -print-machineinstr dumps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21992 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:54:44 +00:00
Chris Lattner
653f7230ad fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21991 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:46:57 +00:00
John Criswell
c1f786cac1 Minor fixup of typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21990 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:25:59 +00:00
Chris Lattner
e2fd52397c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21989 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:15:26 +00:00
Chris Lattner
06cebb456a Fix the problems with callee popped argument lists
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21988 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:13:49 +00:00
John Criswell
678cfa9b19 Removed PPC Linux support, as no one seems to have used it yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21987 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 21:55:49 +00:00
Chris Lattner
ca96c8217d Don't emit SAR X, 0 in the case of sdiv Y, 2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21986 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 21:50:27 +00:00
Chris Lattner
a96e577f53 Fix UnitTests/2005-05-13-SDivTwo.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21985 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 21:48:20 +00:00
Chris Lattner
3648c67eb2 switch to having the callee pop stack operands for fastcc. This is currently buggy
do not use


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21984 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 21:44:04 +00:00
Chris Lattner
2a82ef317c Tolerate instrs with extra args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21982 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 21:07:15 +00:00
John Criswell
af94d58665 Add a note about SPARC V8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21981 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:54:44 +00:00
Chris Lattner
24ddc6d067 allow RETI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21980 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:46:35 +00:00
Chris Lattner
af26d3ea03 add support for fastcc and friends
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21979 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:40:52 +00:00
John Criswell
d0c4a7649c Minor fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21978 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:38:44 +00:00
Chris Lattner
b5d8e6ece6 treat TAILCALL nodes identically to CALL nodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21977 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:29:26 +00:00
Chris Lattner
2e7714ad2b Build TAILCALL nodes in LowerCallTo, treat them like normal calls everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21976 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:29:13 +00:00
John Criswell
9321fa83a2 Added some missing platforms.
Fixed some wording to be more accurate (I hope).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21975 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:28:15 +00:00
John Criswell
0c8a9a1ae8 More typo and wording fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21974 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:25:49 +00:00
Chris Lattner
dbb85859f9 Add reassociation, minor cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21973 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:18:49 +00:00
Chris Lattner
01596987a6 close off B< tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21972 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:14:06 +00:00
Chris Lattner
f2b0a907ea remove htmlisms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21971 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:13:39 +00:00
Chris Lattner
ebb9fef903 fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21970 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:10:13 +00:00
Chris Lattner
f494e720cf note how to disable inlining
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21969 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:09:33 +00:00
Chris Lattner
0a3aac21a5 fix link to llvm-ar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21968 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:08:34 +00:00
Chris Lattner
a6bf38a8fc these don't use passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21967 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:04:33 +00:00
Chris Lattner
4abf2fe81a this detail is not needed here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21966 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:03:17 +00:00
Chris Lattner
1e6df2e6d0 update this manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21965 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 20:01:11 +00:00
Chris Lattner
4bf7afcc27 Capitalize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21964 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 19:49:09 +00:00