oota-llvm.git
19 years agoCorrect macro names per naming standard in Makefile.rules
Reid Spencer [Sat, 30 Oct 2004 09:25:27 +0000 (09:25 +0000)]
Correct macro names per naming standard in Makefile.rules

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

19 years agoInternalize variable names to prevent recursive assignment. Cleanup docs.
Reid Spencer [Sat, 30 Oct 2004 09:19:36 +0000 (09:19 +0000)]
Internalize variable names to prevent recursive assignment. Cleanup docs.

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

19 years agoFix some more problems where we called getOffset before getNode()
Chris Lattner [Sat, 30 Oct 2004 07:21:19 +0000 (07:21 +0000)]
Fix some more problems where we called getOffset before getNode()

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

19 years agoFix three bugs:
Chris Lattner [Sat, 30 Oct 2004 05:41:23 +0000 (05:41 +0000)]
Fix three bugs:
 1. Calls to external global VARIABLES should not be treated as a call to an
    external function
 2. Efficiently deleting an element from a vector by using std::swap with
    the back, then pop_back is NOT a good way to keep the vector sorted.
 3. Our hope of having stuff get deleted by making them redundant just won't
    work.  In particular, if we have three calls in sequence that should be
    merged: A, B, C   first we unify B into A.  To be sure that they appeared
    identical (so B would be erased) we set B = A.  On the next step, we
    unified C into A and set C = A.  Unfortunately, this is no guarantee that
    C = B, so we would fail to delete the dead call.  Switch to a more
    explicit scheme.

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

19 years agoFix more undefined behavior
Chris Lattner [Sat, 30 Oct 2004 04:22:45 +0000 (04:22 +0000)]
Fix more undefined behavior

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

19 years ago* Add a method
Chris Lattner [Sat, 30 Oct 2004 04:05:01 +0000 (04:05 +0000)]
* Add a method
* change some uses of NH.getNode() in a bool context to use !NH.isNull()
* Fix a bunch of places where we depended on the (undefined) order of
  evaluation of arguments to function calls to ensure that getNode() was
  called before getOffset().  In practice, this was NOT happening.

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

19 years agoAdd an assertion and a method
Chris Lattner [Sat, 30 Oct 2004 04:03:47 +0000 (04:03 +0000)]
Add an assertion and a method

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

19 years agoNo really, this is LLVM!
Chris Lattner [Sat, 30 Oct 2004 00:57:52 +0000 (00:57 +0000)]
No really, this is LLVM!

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

19 years agoFixed bug with infinite epilogues.
Tanya Lattner [Sat, 30 Oct 2004 00:39:07 +0000 (00:39 +0000)]
Fixed bug with infinite epilogues.
Fixed issue with generating the partial order. It now adds the nodes not in recurrences in sets for each connected component.

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

19 years agoFix file header comment
Misha Brukman [Fri, 29 Oct 2004 23:26:09 +0000 (23:26 +0000)]
Fix file header comment

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

19 years ago* Fix compilation on AIX: GCC's fixincludes eliminates isinf() declaration
Misha Brukman [Fri, 29 Oct 2004 23:17:45 +0000 (23:17 +0000)]
* Fix compilation on AIX: GCC's fixincludes eliminates isinf() declaration
* Move file comment to the top of the header where it belongs

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

19 years agoDon't modify user vars because they will get passed down (modified) to
Reid Spencer [Fri, 29 Oct 2004 22:14:56 +0000 (22:14 +0000)]
Don't modify user vars because they will get passed down (modified) to
sub-makes and recursively append causing huge command lines and incorrect
compilation results.

Also, fix the printvars target to align its output and ensure that the
contents of variables can't get interpreted by the shell.

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

19 years agoChange name of target lib to conform to new naming scheme.
Brian Gaeke [Fri, 29 Oct 2004 21:57:16 +0000 (21:57 +0000)]
Change name of target lib to conform to new naming scheme.

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

19 years agoRemove dependency on MRegisterInfo::getRegClass
Brian Gaeke [Fri, 29 Oct 2004 21:42:27 +0000 (21:42 +0000)]
Remove dependency on MRegisterInfo::getRegClass

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

19 years agoFix grammar (i.e.)
Misha Brukman [Fri, 29 Oct 2004 19:20:42 +0000 (19:20 +0000)]
Fix grammar (i.e.)

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

19 years agoDisable the build in the samples directory so that llvmc dependencies don't
Reid Spencer [Fri, 29 Oct 2004 18:43:49 +0000 (18:43 +0000)]
Disable the build in the samples directory so that llvmc dependencies don't
mess up the build.

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

19 years agoThe Alpha (tm) intrinsics aren't even being used
Misha Brukman [Fri, 29 Oct 2004 18:43:43 +0000 (18:43 +0000)]
The Alpha (tm) intrinsics aren't even being used

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

19 years agoThe Alpha (tm) intrinsics have never been used anywhere
Misha Brukman [Fri, 29 Oct 2004 18:43:17 +0000 (18:43 +0000)]
The Alpha (tm) intrinsics have never been used anywhere

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

19 years agoLLEE execve() wrapper library has changed its name and location
Misha Brukman [Fri, 29 Oct 2004 18:36:51 +0000 (18:36 +0000)]
LLEE execve() wrapper library has changed its name and location

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

19 years agoWhen emitting debug msgs for function stubs, don't truncate the
Brian Gaeke [Fri, 29 Oct 2004 18:22:45 +0000 (18:22 +0000)]
When emitting debug msgs for function stubs, don't truncate the
printed pointer value if sizeof(unsigned) != pointer size.  Instead,
use uintptr_t.

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

19 years agoPrint P and [AR] files on update.
Vikram S. Adve [Fri, 29 Oct 2004 17:43:19 +0000 (17:43 +0000)]
Print P and [AR] files on update.

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

19 years agoMake sure the LLVM_CONFIG_DIR environment variable is set so we don't get
Reid Spencer [Fri, 29 Oct 2004 06:42:38 +0000 (06:42 +0000)]
Make sure the LLVM_CONFIG_DIR environment variable is set so we don't get
error messages from the compiler.

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

19 years agoMake the list of automatic Makefile* files updated explicit instead of
Reid Spencer [Fri, 29 Oct 2004 04:47:33 +0000 (04:47 +0000)]
Make the list of automatic Makefile* files updated explicit instead of
generally wildcarded.

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

19 years ago* Add spaces between function names for readability
Misha Brukman [Fri, 29 Oct 2004 04:33:19 +0000 (04:33 +0000)]
* Add spaces between function names for readability
* Separate paragraphs, flush HTML text to left margin for ease of editing

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

19 years agoThis line breaks FreeBSD and apparently isn't useful anymore.
Chris Lattner [Fri, 29 Oct 2004 03:46:38 +0000 (03:46 +0000)]
This line breaks FreeBSD and apparently isn't useful anymore.

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

19 years agoCommented out the _Alloc_traits specialization entirely, as it is only
John Criswell [Thu, 28 Oct 2004 18:21:41 +0000 (18:21 +0000)]
Commented out the _Alloc_traits specialization entirely, as it is only
supported by specific versions of GCC.

It is left in place in case anyone wants to updated it for GCC 3.4 or
re-use it for earlier versions of GCC where it works.

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

19 years agoOnly add the _Alloc_traits specialization in if we're compiling for
John Criswell [Thu, 28 Oct 2004 17:31:46 +0000 (17:31 +0000)]
Only add the _Alloc_traits specialization in if we're compiling for
Linux and not compiling for Sparc.
This is still probably not correct, or portable, but it'll do for now.

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

19 years agoFix the dependency of lex.o on gram.tab.h
Reid Spencer [Thu, 28 Oct 2004 16:48:13 +0000 (16:48 +0000)]
Fix the dependency of lex.o on gram.tab.h

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

19 years agoAdded the poolalloc module to the list of projects to configure, if present.
John Criswell [Thu, 28 Oct 2004 13:35:00 +0000 (13:35 +0000)]
Added the poolalloc module to the list of projects to configure, if present.

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

19 years agoBug Fixes:
Reid Spencer [Thu, 28 Oct 2004 09:15:28 +0000 (09:15 +0000)]
Bug Fixes:
* Move rules that build directories earlier in the file so that they are
  always built before the things that depend on them. This enables a
  parallel "dist-check" target.
* Fix use of TOOLLINKOPTS and TOOLLINKOPTSB (thanks to Henrik Bach)
* Standardize the output - some scripts using plain echo instead of $(ECHO)

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

19 years agoMake parallel "install" and "uninstall" targets not step on itself.
Reid Spencer [Thu, 28 Oct 2004 07:57:28 +0000 (07:57 +0000)]
Make parallel "install" and "uninstall" targets not step on itself.

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

19 years agoGep indices must be of int, uint, long or ulong type.
Alkis Evlogimenos [Thu, 28 Oct 2004 06:43:38 +0000 (06:43 +0000)]
Gep indices must be of int, uint, long or ulong type.

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

19 years agoMake sure the sources get distributed (use EXTRA_DIST)
Reid Spencer [Thu, 28 Oct 2004 06:42:34 +0000 (06:42 +0000)]
Make sure the sources get distributed (use EXTRA_DIST)
Add the goof.st sample.

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

19 years agoFix library names for sparc
Brian Gaeke [Thu, 28 Oct 2004 06:39:10 +0000 (06:39 +0000)]
Fix library names for sparc

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

19 years agoFix library name.
Reid Spencer [Thu, 28 Oct 2004 05:37:24 +0000 (05:37 +0000)]
Fix library name.

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

19 years agoFix library name.
Alkis Evlogimenos [Thu, 28 Oct 2004 05:36:48 +0000 (05:36 +0000)]
Fix library name.

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

19 years agoFix library name.
Reid Spencer [Thu, 28 Oct 2004 05:32:01 +0000 (05:32 +0000)]
Fix library name.

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

19 years agoFix name of library
Reid Spencer [Thu, 28 Oct 2004 05:30:54 +0000 (05:30 +0000)]
Fix name of library

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

19 years agoRegenerated after fixing typo.
Brian Gaeke [Thu, 28 Oct 2004 05:06:45 +0000 (05:06 +0000)]
Regenerated after fixing typo.

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

19 years agoMake sure we test the right variable for the AC_DEFINE
Reid Spencer [Thu, 28 Oct 2004 05:04:20 +0000 (05:04 +0000)]
Make sure we test the right variable for the AC_DEFINE

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

19 years agoIt's spelled IEEEFP
Brian Gaeke [Thu, 28 Oct 2004 04:17:05 +0000 (04:17 +0000)]
It's spelled IEEEFP

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

19 years agoUse llvmc to compile the Stacker programs
Reid Spencer [Thu, 28 Oct 2004 04:08:05 +0000 (04:08 +0000)]
Use llvmc to compile the Stacker programs

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

19 years agoAdd the samples directory to the build
Reid Spencer [Thu, 28 Oct 2004 04:07:54 +0000 (04:07 +0000)]
Add the samples directory to the build

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

19 years agoRemove the FORCE token, rename VERSION to VERSION_TOK so it doesn't
Reid Spencer [Thu, 28 Oct 2004 04:06:15 +0000 (04:06 +0000)]
Remove the FORCE token, rename VERSION to VERSION_TOK so it doesn't
conflict with configuration variables and #defines.

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

19 years agoImplement linking.
Reid Spencer [Thu, 28 Oct 2004 04:05:06 +0000 (04:05 +0000)]
Implement linking.

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

19 years agoEliminate the force flag, configuration item, and related support
Reid Spencer [Thu, 28 Oct 2004 04:04:38 +0000 (04:04 +0000)]
Eliminate the force flag, configuration item, and related support

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

19 years agoPass -f to stkrc to ensure the output file is always written.
Reid Spencer [Thu, 28 Oct 2004 03:57:49 +0000 (03:57 +0000)]
Pass -f to stkrc to ensure the output file is always written.

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

19 years agoEliminate the -F option (for forcing output) .. not needed
Reid Spencer [Thu, 28 Oct 2004 03:56:16 +0000 (03:56 +0000)]
Eliminate the -F option (for forcing output) .. not needed
Create GCC compatible -Wx, aliases for the existing -T options.

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

19 years agoAdd llvm-ld to the subdirs to be built
Reid Spencer [Thu, 28 Oct 2004 03:53:02 +0000 (03:53 +0000)]
Add llvm-ld to the subdirs to be built

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

19 years agoConvert to new library names.
Reid Spencer [Thu, 28 Oct 2004 03:50:43 +0000 (03:50 +0000)]
Convert to new library names.

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

19 years agoGet rid of drivel.
Reid Spencer [Thu, 28 Oct 2004 01:25:28 +0000 (01:25 +0000)]
Get rid of drivel.
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.

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

19 years agoMake sure that the yacc and lex output are specified as BUILT_SOURCES.
Reid Spencer [Thu, 28 Oct 2004 00:43:24 +0000 (00:43 +0000)]
Make sure that the yacc and lex output are specified as BUILT_SOURCES.
Correct the dependency of the Lexer.o file on the constructed
llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on
the header, its the output of compiling Lexer.cpp, Lexer.o

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

19 years agoBug Fixes:
Reid Spencer [Thu, 28 Oct 2004 00:41:43 +0000 (00:41 +0000)]
Bug Fixes:

* Ensure that BUILT_SOURCES depends on OBJ_DIR/Makefile so that they do not
  get built before the Makefile is updated.
* Fix build script for yacc & lex files by stopping it from thwarting the
  dependencies on the file. If the .y file changes, it needs to be rebuilt.
  This also cleans up the problem with llvmAsmParser ALWAYS rebuilding its
  Yacc files just to throw them away because there's no change.

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

19 years agoUpdate for library name change.
Reid Spencer [Thu, 28 Oct 2004 00:11:43 +0000 (00:11 +0000)]
Update for library name change.

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

19 years agoChange Library Names Not To Conflict With Others When Installed
Reid Spencer [Wed, 27 Oct 2004 23:18:45 +0000 (23:18 +0000)]
Change Library Names Not To Conflict With Others When Installed

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

19 years agoAdd the HAVE_RAND48 define.
Reid Spencer [Wed, 27 Oct 2004 23:09:31 +0000 (23:09 +0000)]
Add the HAVE_RAND48 define.

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

19 years agoChanges to support rand48 tests
Reid Spencer [Wed, 27 Oct 2004 23:03:44 +0000 (23:03 +0000)]
Changes to support rand48 tests

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

19 years agoFix auto-reconfigure bug: make sure we actually reconfigure not just
Reid Spencer [Wed, 27 Oct 2004 22:48:58 +0000 (22:48 +0000)]
Fix auto-reconfigure bug: make sure we actually reconfigure not just
regenerate the config.status script.

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

19 years agoAdd a couple of new features
Chris Lattner [Wed, 27 Oct 2004 16:28:17 +0000 (16:28 +0000)]
Add a couple of new features

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

19 years agoConvert 'struct' to 'class' in various places to adhere to the coding standards
Chris Lattner [Wed, 27 Oct 2004 16:14:51 +0000 (16:14 +0000)]
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++.  Patch contributed by Morten Ofstad!

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

19 years agoGive sumant credit too!
Chris Lattner [Wed, 27 Oct 2004 15:54:23 +0000 (15:54 +0000)]
Give sumant credit too!

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

19 years agoMove destructor out of line to avoid vtable emission in every file that includes...
Nate Begeman [Wed, 27 Oct 2004 06:00:53 +0000 (06:00 +0000)]
Move destructor out of line to avoid vtable emission in every file that includes the header.  Thanks to sabre.

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

19 years agoHrm, this code was severely botched. As it turns out, this patch:
Chris Lattner [Wed, 27 Oct 2004 05:57:15 +0000 (05:57 +0000)]
Hrm, this code was severely botched.  As it turns out, this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041018/019708.html

exposed ANOTHER latent bug in this xform, which caused Prolangs-C/bison to fill
the zion nightly tester disk up and make the tester barf.

This is obviously not a good thing, so lets fix this bug shall we? :)

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

19 years agoFix the build by eliminating some more dead code. That'll learn me not to listen...
Nate Begeman [Wed, 27 Oct 2004 05:44:23 +0000 (05:44 +0000)]
Fix the build by eliminating some more dead code.  That'll learn me not to listen to Reid

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

19 years agoRemove dead data member in MRegisterInfo class. Thanks sabre!
Nate Begeman [Wed, 27 Oct 2004 04:51:58 +0000 (04:51 +0000)]
Remove dead data member in MRegisterInfo class.  Thanks sabre!

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

19 years agoGet the *.inc files to depend on tblgen so if tblgen gets fixed, all the
Reid Spencer [Wed, 27 Oct 2004 04:34:35 +0000 (04:34 +0000)]
Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the
*.inc files get regenerated.

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

19 years agoInitialize with the correct constant type
Chris Lattner [Wed, 27 Oct 2004 03:55:24 +0000 (03:55 +0000)]
Initialize with the correct constant type

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

19 years agoMake sure that Makefile.rules and Makefile.config.in are not candidates for
Reid Spencer [Tue, 26 Oct 2004 23:10:00 +0000 (23:10 +0000)]
Make sure that Makefile.rules and Makefile.config.in are not candidates for
automatic makefile update.

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

19 years agoCleanup/Fixes:
Reid Spencer [Tue, 26 Oct 2004 22:26:33 +0000 (22:26 +0000)]
Cleanup/Fixes:

* Force preconditions to be met FIRST
* Fix dist-check dependency
* Add some variables to the printvars target
* Automatically update Makefile.* as well as just Makefile

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

19 years ago* Make the libcrtend.a installation depend on the bytecode-libs directory
Reid Spencer [Tue, 26 Oct 2004 21:30:31 +0000 (21:30 +0000)]
* Make the libcrtend.a installation depend on the bytecode-libs directory
* Conform output to standard.

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

19 years agoUnless someone seriously objects, I don't think we really need this. Sorry
Chris Lattner [Tue, 26 Oct 2004 20:02:50 +0000 (20:02 +0000)]
Unless someone seriously objects, I don't think we really need this. Sorry
resistor :(

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

19 years agoPlug a memory leak in the asmparser. It turns out that we were leaking
Chris Lattner [Tue, 26 Oct 2004 18:26:14 +0000 (18:26 +0000)]
Plug a memory leak in the asmparser.  It turns out that we were leaking
the strings for basic block labels in some cases.  This amounted to about
120K of memory for namd, a medium sized program.

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

19 years agoWrap comments at 80 cols
Misha Brukman [Tue, 26 Oct 2004 18:00:03 +0000 (18:00 +0000)]
Wrap comments at 80 cols

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

19 years agoadd support for UndefValue
Chris Lattner [Tue, 26 Oct 2004 16:23:03 +0000 (16:23 +0000)]
add support for UndefValue

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

19 years agoFix header
Chris Lattner [Tue, 26 Oct 2004 16:19:57 +0000 (16:19 +0000)]
Fix header

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

19 years agoUse <tt> around "#include" and "std::endl"
Misha Brukman [Tue, 26 Oct 2004 16:18:43 +0000 (16:18 +0000)]
Use <tt> around "#include" and "std::endl"

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

19 years ago* DataTypesFix.h moved to AIXDataTypesFix.h
Misha Brukman [Tue, 26 Oct 2004 16:15:18 +0000 (16:15 +0000)]
* DataTypesFix.h moved to AIXDataTypesFix.h
* Condition #inclusion of AIXDataTypes.h on the _AIX preprocessor symbol to
  prevent extra I/O on non-AIX systems.  Thus, no #ifdef in AIXDataTypes.h

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

19 years agoUse <tt> around header names
Misha Brukman [Tue, 26 Oct 2004 16:07:46 +0000 (16:07 +0000)]
Use <tt> around header names

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

19 years ago* Thanks to Morten Ofstad for the Visual C++ compatibility fixes
Misha Brukman [Tue, 26 Oct 2004 15:55:12 +0000 (15:55 +0000)]
* Thanks to Morten Ofstad for the Visual C++ compatibility fixes
* Added Paolo's email address

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

19 years ago* Fix spelling and grammar errors
Misha Brukman [Tue, 26 Oct 2004 15:45:13 +0000 (15:45 +0000)]
* Fix spelling and grammar errors
* Close <p> tags properly
* Break up paragraphs with blank lines, clean up text alignment
* Delete unbalanced "

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

19 years agoMove method bodies that depend on <algorithm> from MBB.h to MBB.cpp
Chris Lattner [Tue, 26 Oct 2004 15:43:42 +0000 (15:43 +0000)]
Move method bodies that depend on <algorithm> from MBB.h to MBB.cpp

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

19 years agoRemove the unused MachineBasicBlock2IndexFunctor class.
Chris Lattner [Tue, 26 Oct 2004 15:41:13 +0000 (15:41 +0000)]
Remove the unused MachineBasicBlock2IndexFunctor class.
Move method bodies that depend on <algorithm> out of line to
MachineBasicBlock.cpp.  Patch contributed by Morten Ofstad!

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

19 years agoClean up the MachineBasicBlock.h file, percolating #includes into this file.
Chris Lattner [Tue, 26 Oct 2004 15:35:58 +0000 (15:35 +0000)]
Clean up the MachineBasicBlock.h file, percolating #includes into this file.
Patch contributed by Morten Ofstad

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

19 years ago* Implement the "dist-check" target that verifies the contents of a zipped
Reid Spencer [Tue, 26 Oct 2004 07:09:33 +0000 (07:09 +0000)]
* Implement the "dist-check" target that verifies the contents of a zipped
  tarball.
* Fix bugs in the "dist" target (a precursor to dist-check).
* Correct the implementation of the "install" targets so that they ensure
  the installation directories are created before attmpting to install
  directories in them.
* Reduce the verbosity of the output of the makefile system
* Ensure output includes the configuration whenever libraries or tools are
  built, installed, or uninstalled.

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

19 years agoReduce the number of EXTRA_DIST files since Makefile.rules now handles the
Reid Spencer [Tue, 26 Oct 2004 07:05:09 +0000 (07:05 +0000)]
Reduce the number of EXTRA_DIST files since Makefile.rules now handles the
autoconf directory automagically.

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

19 years agoMake sure the samples and test directories get distributed.
Reid Spencer [Tue, 26 Oct 2004 07:04:18 +0000 (07:04 +0000)]
Make sure the samples and test directories get distributed.

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

19 years agoMake sure the include files get distributed.
Reid Spencer [Tue, 26 Oct 2004 07:03:39 +0000 (07:03 +0000)]
Make sure the include files get distributed.

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

19 years agoAdd the export symbols list files as extra distribution files.
Reid Spencer [Tue, 26 Oct 2004 07:02:58 +0000 (07:02 +0000)]
Add the export symbols list files as extra distribution files.

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

19 years agoRemove include of MRegisterInfo.h, since it is already included by
Nate Begeman [Tue, 26 Oct 2004 06:04:23 +0000 (06:04 +0000)]
Remove include of MRegisterInfo.h, since it is already included by
SkeletonGenRegisterInfo.h.inc

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

19 years agoRemove file that is no longer used, and move include of MRegisterInfo.h
Nate Begeman [Tue, 26 Oct 2004 06:02:38 +0000 (06:02 +0000)]
Remove file that is no longer used, and move include of MRegisterInfo.h
from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually
needed.

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

19 years agoRemove method getRegClass from MRegisterInfo, as it is no longer used.
Nate Begeman [Tue, 26 Oct 2004 06:00:31 +0000 (06:00 +0000)]
Remove method getRegClass from MRegisterInfo, as it is no longer used.

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

19 years agoReally get mkinstalldirs to shut up about what its doing .. who cares?
Reid Spencer [Tue, 26 Oct 2004 05:49:38 +0000 (05:49 +0000)]
Really get mkinstalldirs to shut up about what its doing .. who cares?

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

19 years agoImprove help output from llvm-db 'info' command. Patch contributed by
Chris Lattner [Tue, 26 Oct 2004 05:46:17 +0000 (05:46 +0000)]
Improve help output from llvm-db 'info' command.  Patch contributed by
Michael McCracken!

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

19 years agoEliminate usage of MRegisterInfo::getRegClass(physreg)
Nate Begeman [Tue, 26 Oct 2004 05:40:45 +0000 (05:40 +0000)]
Eliminate usage of MRegisterInfo::getRegClass(physreg)

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

19 years agoFix the interpreter crash that Michael McCracken found
Chris Lattner [Tue, 26 Oct 2004 05:35:14 +0000 (05:35 +0000)]
Fix the interpreter crash that Michael McCracken found

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

19 years agoReduce usage of MRegisterInfo::getRegClass
Chris Lattner [Tue, 26 Oct 2004 05:29:18 +0000 (05:29 +0000)]
Reduce usage of MRegisterInfo::getRegClass

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

19 years agoUpdate to-do list
Nate Begeman [Tue, 26 Oct 2004 04:10:53 +0000 (04:10 +0000)]
Update to-do list

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

19 years agoFix treecc. Also fix a latent bug in emitBinaryConstOperation that would
Nate Begeman [Tue, 26 Oct 2004 03:48:25 +0000 (03:48 +0000)]
Fix treecc.  Also fix a latent bug in emitBinaryConstOperation that would
allow and const, 0 to be incorrectly codegen'd into a rlwinm instruction.

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

19 years agoAdd EXTRA_DIST for additional files to be distributed.
Reid Spencer [Tue, 26 Oct 2004 03:12:11 +0000 (03:12 +0000)]
Add EXTRA_DIST for additional files to be distributed.

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

19 years agoGive a useful hint
Chris Lattner [Tue, 26 Oct 2004 02:58:10 +0000 (02:58 +0000)]
Give a useful hint

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