oota-llvm.git
19 years agoFix spelling of 'separate'.
Jeff Cohen [Mon, 24 Oct 2005 16:54:55 +0000 (16:54 +0000)]
Fix spelling of 'separate'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23971 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFixed spelling.
John Criswell [Mon, 24 Oct 2005 16:47:40 +0000 (16:47 +0000)]
Fixed spelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23970 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded a note to remove CVS directories when copying the sample project to
John Criswell [Mon, 24 Oct 2005 16:43:08 +0000 (16:43 +0000)]
Added a note to remove CVS directories when copying the sample project to
a new project.
Kudos to Rob for suggesting that I add this important step.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23969 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAttempt to make terminology more consistent.
John Criswell [Mon, 24 Oct 2005 16:37:24 +0000 (16:37 +0000)]
Attempt to make terminology more consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23968 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAndrew says that alpha basically works
Chris Lattner [Mon, 24 Oct 2005 16:36:36 +0000 (16:36 +0000)]
Andrew says that alpha basically works

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23967 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFixed a grammar issue.
John Criswell [Mon, 24 Oct 2005 16:20:10 +0000 (16:20 +0000)]
Fixed a grammar issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23966 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGrammar and punctuation fixes.
John Criswell [Mon, 24 Oct 2005 16:17:18 +0000 (16:17 +0000)]
Grammar and punctuation fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23965 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoKeep Visual Studio up to date.
Jeff Cohen [Mon, 24 Oct 2005 15:21:58 +0000 (15:21 +0000)]
Keep Visual Studio up to date.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23964 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov
Chris Lattner [Mon, 24 Oct 2005 15:04:15 +0000 (15:04 +0000)]
Fix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov
for pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23963 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agodo not wrap this whole file in namespace llvm
Chris Lattner [Mon, 24 Oct 2005 06:38:35 +0000 (06:38 +0000)]
do not wrap this whole file in namespace llvm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23962 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoHandle allocations that, even after removing dead uses, still have more than
Chris Lattner [Mon, 24 Oct 2005 06:35:18 +0000 (06:35 +0000)]
Handle allocations that, even after removing dead uses, still have more than
one use (but one is a cast).  This handles the very common case of:

 X = alloc [n x byte]
 Y = cast X to somethingbetter
 seteq X, null

In order to avoid infinite looping when there are multiple casts, we only
allow this if the xform is strictly increasing the alignment of the
allocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23961 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix a bug where we would 'promote' an allocation from one type to another
Chris Lattner [Mon, 24 Oct 2005 06:26:18 +0000 (06:26 +0000)]
Fix a bug where we would 'promote' an allocation from one type to another
where the second has less alignment required.  If we had explicit alignment
support in the IR, we could handle this case, but we can't until we do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23960 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBefore promoting a malloc type, remove dead uses. This makes instcombine
Chris Lattner [Mon, 24 Oct 2005 06:22:12 +0000 (06:22 +0000)]
Before promoting a malloc type, remove dead uses.  This makes instcombine
more effective at promoting these allocations, catching them earlier in the
compile process.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23959 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPull some code out into a function, no functionality change
Chris Lattner [Mon, 24 Oct 2005 06:03:58 +0000 (06:03 +0000)]
Pull some code out into a function, no functionality change

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23958 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove the END_WITH_NULL marker. Vladimir suggests that this works better with
Chris Lattner [Mon, 24 Oct 2005 05:03:46 +0000 (05:03 +0000)]
Move the END_WITH_NULL marker.  Vladimir suggests that this works better with
GCC 4.1.  I tried it with 4.0 and 3.3 and it seems fine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23957 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake this build with GCC 4.1, patch contributed by Vladimir A. Merzliakov!
Chris Lattner [Mon, 24 Oct 2005 04:51:35 +0000 (04:51 +0000)]
Make this build with GCC 4.1, patch contributed by Vladimir A. Merzliakov!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23956 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis pass is gone
Chris Lattner [Mon, 24 Oct 2005 04:18:05 +0000 (04:18 +0000)]
This pass is gone

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23955 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agothis pass is gone
Chris Lattner [Mon, 24 Oct 2005 04:17:31 +0000 (04:17 +0000)]
this pass is gone

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23954 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis RA no longer exists
Chris Lattner [Mon, 24 Oct 2005 04:15:09 +0000 (04:15 +0000)]
This RA no longer exists

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23953 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAlkis agrees that that iterative scan allocator isn't going to be worked on
Chris Lattner [Mon, 24 Oct 2005 04:14:30 +0000 (04:14 +0000)]
Alkis agrees that that iterative scan allocator isn't going to be worked on
in the future, remove it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23952 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove a prototype
Chris Lattner [Mon, 24 Oct 2005 04:13:21 +0000 (04:13 +0000)]
Remove a prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23951 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUpdate Visual Studio projects to account for recent changes.
Jeff Cohen [Mon, 24 Oct 2005 02:57:24 +0000 (02:57 +0000)]
Update Visual Studio projects to account for recent changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23950 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove this pass, it is not useful
Chris Lattner [Mon, 24 Oct 2005 02:35:43 +0000 (02:35 +0000)]
Remove this pass, it is not useful

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23949 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis pass is very old and quite useless, remove it.
Chris Lattner [Mon, 24 Oct 2005 02:35:24 +0000 (02:35 +0000)]
This pass is very old and quite useless, remove it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23946 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThree of these have been removed, as warned
Chris Lattner [Mon, 24 Oct 2005 02:33:44 +0000 (02:33 +0000)]
Three of these have been removed, as warned

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23945 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove some beta code that no longer has an owner.
Chris Lattner [Mon, 24 Oct 2005 02:32:41 +0000 (02:32 +0000)]
Remove some beta code that no longer has an owner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23944 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDo not build the ProfilePaths directory anymore
Chris Lattner [Mon, 24 Oct 2005 02:31:49 +0000 (02:31 +0000)]
Do not build the ProfilePaths directory anymore

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23943 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove a now-unneeded library
Chris Lattner [Mon, 24 Oct 2005 02:31:05 +0000 (02:31 +0000)]
Remove a now-unneeded library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23942 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't link these three passes in anymore
Chris Lattner [Mon, 24 Oct 2005 02:30:25 +0000 (02:30 +0000)]
Don't link these three passes in anymore

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23941 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now
Chris Lattner [Mon, 24 Oct 2005 02:26:13 +0000 (02:26 +0000)]
DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23940 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNow that all libraries are built in either .o or .a form, make BUILD_ARCHIVE
Chris Lattner [Mon, 24 Oct 2005 02:21:45 +0000 (02:21 +0000)]
Now that all libraries are built in either .o or .a form, make BUILD_ARCHIVE
default to turning off building of relinked objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23939 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoonly build .a version of this library
Chris Lattner [Mon, 24 Oct 2005 02:14:49 +0000 (02:14 +0000)]
only build .a version of this library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23938 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOnly build .a file versions of these libraries, instead of .a and .o versions.
Chris Lattner [Mon, 24 Oct 2005 02:11:51 +0000 (02:11 +0000)]
Only build .a file versions of these libraries, instead of .a and .o versions.
This should speed up build times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23937 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThere is no need to build an archive version of this library
Chris Lattner [Mon, 24 Oct 2005 02:09:03 +0000 (02:09 +0000)]
There is no need to build an archive version of this library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23936 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis file is hopelessly out of date
Chris Lattner [Mon, 24 Oct 2005 02:07:08 +0000 (02:07 +0000)]
This file is hopelessly out of date

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23935 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOnly build .a file versions of these libraries, instead of .a and .o versions.
Chris Lattner [Mon, 24 Oct 2005 02:05:35 +0000 (02:05 +0000)]
Only build .a file versions of these libraries, instead of .a and .o versions.
This should speed up build times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23934 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOnly build .a file versions of these libraries, instead of .a and .o versions.
Chris Lattner [Mon, 24 Oct 2005 01:59:48 +0000 (01:59 +0000)]
Only build .a file versions of these libraries, instead of .a and .o versions.
This should speed up build times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23933 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agouse archives when possible
Chris Lattner [Mon, 24 Oct 2005 01:52:15 +0000 (01:52 +0000)]
use archives when possible

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23932 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
Chris Lattner [Mon, 24 Oct 2005 01:40:23 +0000 (01:40 +0000)]
Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23931 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agopull in the .a version of scalaropts lib to reduce the size of programs
Chris Lattner [Mon, 24 Oct 2005 01:15:14 +0000 (01:15 +0000)]
pull in the .a version of scalaropts lib to reduce the size of programs
using the JIT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23930 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agopull in the archive version of this lib to reduce exe size
Chris Lattner [Mon, 24 Oct 2005 01:13:21 +0000 (01:13 +0000)]
pull in the archive version of this lib to reduce exe size

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23929 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPull in the archive versions of these libs to reduce executable size
Chris Lattner [Mon, 24 Oct 2005 01:12:14 +0000 (01:12 +0000)]
Pull in the archive versions of these libs to reduce executable size

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23928 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agodon't bother building the archive version of this library
Chris Lattner [Mon, 24 Oct 2005 01:08:20 +0000 (01:08 +0000)]
don't bother building the archive version of this library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23927 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoLink in datastructure as a relinked o file
Chris Lattner [Mon, 24 Oct 2005 01:07:56 +0000 (01:07 +0000)]
Link in datastructure as a relinked o file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23926 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoLink to archive versions of libraries instead of the relinked ones
Chris Lattner [Mon, 24 Oct 2005 01:05:53 +0000 (01:05 +0000)]
Link to archive versions of libraries instead of the relinked ones

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23925 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoexpose a ctor
Chris Lattner [Mon, 24 Oct 2005 01:00:45 +0000 (01:00 +0000)]
expose a ctor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23924 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd a proto
Chris Lattner [Mon, 24 Oct 2005 01:00:32 +0000 (01:00 +0000)]
add a proto

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23923 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse the new LinkAllAnalyses.h header instead of forcing passes to be
Chris Lattner [Mon, 24 Oct 2005 01:00:13 +0000 (01:00 +0000)]
Use the new LinkAllAnalyses.h header instead of forcing passes to be
in relinked object files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23922 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonew header
Chris Lattner [Mon, 24 Oct 2005 00:59:49 +0000 (00:59 +0000)]
new header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23921 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoimplement some prototypes
Chris Lattner [Mon, 24 Oct 2005 00:38:38 +0000 (00:38 +0000)]
implement some prototypes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23920 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd some prototypes
Chris Lattner [Mon, 24 Oct 2005 00:38:25 +0000 (00:38 +0000)]
add some prototypes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23919 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomove this to the analyze tool
Chris Lattner [Mon, 24 Oct 2005 00:27:36 +0000 (00:27 +0000)]
move this to the analyze tool

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23918 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't invade the system namespace
Chris Lattner [Mon, 24 Oct 2005 00:16:03 +0000 (00:16 +0000)]
Don't invade the system namespace

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23917 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse archive versions of these libraries, using the LinkAllPasses header.
Chris Lattner [Mon, 24 Oct 2005 00:12:20 +0000 (00:12 +0000)]
Use archive versions of these libraries, using the LinkAllPasses header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23916 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThere is no need for this to be VC++ only
Chris Lattner [Mon, 24 Oct 2005 00:08:51 +0000 (00:08 +0000)]
There is no need for this to be VC++ only

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23915 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix a nasty bug that was causing miscompilation of global variables
Chris Lattner [Sun, 23 Oct 2005 23:54:56 +0000 (23:54 +0000)]
Fix a nasty bug that was causing miscompilation of global variables
on big endian 32-bit targets in some cases (e.g. PPC).  This fixes several
PPC JIT failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23914 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoShrinkify to match llc
Chris Lattner [Sun, 23 Oct 2005 22:39:01 +0000 (22:39 +0000)]
Shrinkify to match llc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23912 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoShrinkify to make --help output look better
Chris Lattner [Sun, 23 Oct 2005 22:37:13 +0000 (22:37 +0000)]
Shrinkify to make --help output look better

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23911 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoshrinkify the option name a bit
Chris Lattner [Sun, 23 Oct 2005 22:35:42 +0000 (22:35 +0000)]
shrinkify the option name a bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23910 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSimplify this, matching changes in the tblgen emitter
Chris Lattner [Sun, 23 Oct 2005 22:34:25 +0000 (22:34 +0000)]
Simplify this, matching changes in the tblgen emitter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23909 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSimplify this due to changes in the tblgen side
Chris Lattner [Sun, 23 Oct 2005 22:33:22 +0000 (22:33 +0000)]
Simplify this due to changes in the tblgen side

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23908 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd the needed #include, emit enums with the sizes of tables, remove
Chris Lattner [Sun, 23 Oct 2005 22:33:08 +0000 (22:33 +0000)]
Add the needed #include, emit enums with the sizes of tables, remove
definitions from the LLVM namespace, since they are all static.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23907 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomark this as beta
Chris Lattner [Sun, 23 Oct 2005 22:23:45 +0000 (22:23 +0000)]
mark this as beta

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23906 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIf a user requests help, give them help on both features and processors
Chris Lattner [Sun, 23 Oct 2005 22:23:13 +0000 (22:23 +0000)]
If a user requests help, give them help on both features and processors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23905 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAutogen subtarget information from .td files.
Chris Lattner [Sun, 23 Oct 2005 22:15:34 +0000 (22:15 +0000)]
Autogen subtarget information from .td files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23904 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd subtarget feature/processor defns to the .td file
Chris Lattner [Sun, 23 Oct 2005 22:08:45 +0000 (22:08 +0000)]
Add subtarget feature/processor defns to the .td file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23903 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agorearrange things a bit so that instructions can use subtarget features in the
Chris Lattner [Sun, 23 Oct 2005 22:08:13 +0000 (22:08 +0000)]
rearrange things a bit so that instructions can use subtarget features in the
future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23902 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd a marker
Chris Lattner [Sun, 23 Oct 2005 22:07:20 +0000 (22:07 +0000)]
add a marker

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23901 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd a note that Nate mentioned last week
Chris Lattner [Sun, 23 Oct 2005 21:44:59 +0000 (21:44 +0000)]
add a note that Nate mentioned last week

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23898 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPut some of my random notes somewhere public
Chris Lattner [Sun, 23 Oct 2005 19:52:42 +0000 (19:52 +0000)]
Put some of my random notes somewhere public

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23897 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWork around GCC's dislike of attributes on function definitions.
Jeff Cohen [Sun, 23 Oct 2005 15:22:50 +0000 (15:22 +0000)]
Work around GCC's dislike of attributes on function definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23896 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove deleted files from Visual Studio.
Jeff Cohen [Sun, 23 Oct 2005 15:21:52 +0000 (15:21 +0000)]
Remove deleted files from Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23895 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove the obsolete instr selector emitter
Chris Lattner [Sun, 23 Oct 2005 05:47:52 +0000 (05:47 +0000)]
Remove the obsolete instr selector emitter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23894 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImprove help output.
Chris Lattner [Sun, 23 Oct 2005 05:33:39 +0000 (05:33 +0000)]
Improve help output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23893 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoimprove -help output
Chris Lattner [Sun, 23 Oct 2005 05:28:51 +0000 (05:28 +0000)]
improve -help output

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23892 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove static functions from .h file, reduce #includes, pass strings by const&,
Chris Lattner [Sun, 23 Oct 2005 05:26:26 +0000 (05:26 +0000)]
Move static functions from .h file, reduce #includes, pass strings by const&,
use LowercaseString from StringExtras.h, remove extraneous space from help
output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23891 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove static functions to .cpp file, reduce #includes, pass strings by
Chris Lattner [Sun, 23 Oct 2005 05:25:19 +0000 (05:25 +0000)]
Move static functions to .cpp file, reduce #includes, pass strings by
const&.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23890 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove redundant flag.
Jeff Cohen [Sun, 23 Oct 2005 04:51:22 +0000 (04:51 +0000)]
Remove redundant flag.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23889 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWhen a function takes a variable number of pointer arguments, with a zero
Jeff Cohen [Sun, 23 Oct 2005 04:37:20 +0000 (04:37 +0000)]
When a function takes a variable number of pointer arguments, with a zero
pointer marking the end of the list, the zero *must* be cast to the pointer
type.  An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.

The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd several things.
Andrew Lenharth [Sun, 23 Oct 2005 03:43:48 +0000 (03:43 +0000)]
Add several things.
loads
branches
setcc
working calls
Global address
External addresses

now I can manage malloc calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23887 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd TargetExternalSymbol
Andrew Lenharth [Sun, 23 Oct 2005 03:40:17 +0000 (03:40 +0000)]
add TargetExternalSymbol

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23886 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd new files to Visual Studio.
Jeff Cohen [Sun, 23 Oct 2005 01:22:33 +0000 (01:22 +0000)]
Add new files to Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23885 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWell, the Constant matching pattern works. Can't say much about calls or globals...
Andrew Lenharth [Sat, 22 Oct 2005 22:06:58 +0000 (22:06 +0000)]
Well, the Constant matching pattern works.  Can't say much about calls or globals yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23884 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agodocument this as experimental
Chris Lattner [Sat, 22 Oct 2005 22:00:45 +0000 (22:00 +0000)]
document this as experimental

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23883 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis file is entirely ifdef'd out
Chris Lattner [Sat, 22 Oct 2005 19:37:08 +0000 (19:37 +0000)]
This file is entirely ifdef'd out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23882 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBuildSDIV and BuildUDIV only work for i32/i64, but they don't check that
Chris Lattner [Sat, 22 Oct 2005 18:50:15 +0000 (18:50 +0000)]
BuildSDIV and BuildUDIV only work for i32/i64, but they don't check that
the input is that type, this caused a failure on gs on X86 last night.
Move the hard checks into Build[US]Div since that is where decisions like
this should be made.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23881 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd g3 back to the mix and reorder to irritate them anal folk. Actually, it's
Jim Laskey [Sat, 22 Oct 2005 08:04:24 +0000 (08:04 +0000)]
Add g3 back to the mix and reorder to irritate them anal folk.  Actually, it's
to group appropriately and provide cues to maintainers that the lists don't
need to be ordered.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23880 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSort the features and processor lists for the sake of search (and maintainers.)
Jim Laskey [Sat, 22 Oct 2005 07:59:56 +0000 (07:59 +0000)]
Sort the features and processor lists for the sake of search (and maintainers.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23879 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago64-bit reg support should not be enabled by default, as support isn't complete.
Chris Lattner [Fri, 21 Oct 2005 22:15:43 +0000 (22:15 +0000)]
64-bit reg support should not be enabled by default, as support isn't complete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23878 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd a case missing from the dag combiner that exposed the failure on
Chris Lattner [Fri, 21 Oct 2005 21:23:25 +0000 (21:23 +0000)]
add a case missing from the dag combiner that exposed the failure on
2005-10-21-longlonggtu.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23875 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoInstead of aborting if not a case we can handle specially, break out and
Chris Lattner [Fri, 21 Oct 2005 21:17:10 +0000 (21:17 +0000)]
Instead of aborting if not a case we can handle specially, break out and
let the generic code handle it.  This fixes CodeGen/Generic/2005-10-21-longlonggtu.ll on ppc.

also, reindent this code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23874 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase that crashes the ppc backend
Chris Lattner [Fri, 21 Oct 2005 21:09:13 +0000 (21:09 +0000)]
New testcase that crashes the ppc backend

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23871 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPlugin new subtarget backend into the build.
Jim Laskey [Fri, 21 Oct 2005 19:05:19 +0000 (19:05 +0000)]
Plugin new subtarget backend into the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23870 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew TableGen backends for subtarget information. Only command line stuff
Jim Laskey [Fri, 21 Oct 2005 19:00:04 +0000 (19:00 +0000)]
New TableGen backends for subtarget information.  Only command line stuff
active now.  Scheduling itinerary next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23869 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agosilence a release mode warning
Chris Lattner [Fri, 21 Oct 2005 16:01:26 +0000 (16:01 +0000)]
silence a release mode warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23868 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoadd missing prototype
Chris Lattner [Fri, 21 Oct 2005 15:49:28 +0000 (15:49 +0000)]
add missing prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23867 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the coallescer a bit smarter, allowing it to join more live ranges.
Chris Lattner [Fri, 21 Oct 2005 06:49:50 +0000 (06:49 +0000)]
Make the coallescer a bit smarter, allowing it to join more live ranges.
For example, we can now join things like [0-30:0)[31-40:1)[52-59:2)
with [40:60:0) if the 52-59 range is defined by a copy from the 40-60 range.
The resultant range ends up being [0-30:0)[31-60:1).

This fires a lot through-out the test suite (e.g. shrinking bc from
19492 -> 18509 machineinstrs) though most gains are smaller (e.g. about
50 copies eliminated from crafty).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23866 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix LiveInterval::getOverlapingRanges to take things in the right order
Chris Lattner [Fri, 21 Oct 2005 06:41:30 +0000 (06:41 +0000)]
Fix LiveInterval::getOverlapingRanges to take things in the right order
(an unused method).

Fix the merger so that it can merge ranges like this  [10:12)[16:40) with
[12:38) into [10:40) instead of bogus ranges.  This sort of input will be
possible for the merger coming shortly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23865 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMatch rotate. This does actually match the rotates in an rc5 cipher, but I
Nate Begeman [Fri, 21 Oct 2005 06:36:18 +0000 (06:36 +0000)]
Match rotate.  This does actually match the rotates in an rc5 cipher, but I
haven't seen it fire on our testsuite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23863 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMy previous patch was too conservative. Reject FP and void types, but do
Chris Lattner [Fri, 21 Oct 2005 05:45:41 +0000 (05:45 +0000)]
My previous patch was too conservative.  Reject FP and void types, but do
allow pointer types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23859 91177308-0d34-0410-b5e6-96231b3b80d8