oota-llvm.git
22 years ago* Add a couple of comments to the output c code
Chris Lattner [Fri, 20 Sep 2002 15:18:30 +0000 (15:18 +0000)]
* Add a couple of comments to the output c code
* _FIX_ infinite recursion problem, due to typedefs of a structure being
  printed before the structure.

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

22 years agoAnother change that doesn't affect functionality. Since we are only looking
Chris Lattner [Fri, 20 Sep 2002 15:12:13 +0000 (15:12 +0000)]
Another change that doesn't affect functionality.  Since we are only looking
at types in the symbol table, only traverse the type plane, saving a loop nest.

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

22 years agoMake the StructPrinted set only take memory when it's being used.
Chris Lattner [Fri, 20 Sep 2002 15:05:40 +0000 (15:05 +0000)]
Make the StructPrinted set only take memory when it's being used.
rename parseStruct to printContainedStructs

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

22 years agoNo functionality changes, primarily just changing tab indentation to space
Chris Lattner [Fri, 20 Sep 2002 14:56:54 +0000 (14:56 +0000)]
No functionality changes, primarily just changing tab indentation to space
indentation

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

22 years agoCheckin old testcase
Chris Lattner [Fri, 20 Sep 2002 14:37:46 +0000 (14:37 +0000)]
Checkin old testcase

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

22 years agoThe ENABLE_PROFILING flag now builds the profiled libraries and executables
Vikram S. Adve [Fri, 20 Sep 2002 14:03:13 +0000 (14:03 +0000)]
The ENABLE_PROFILING flag now builds the profiled libraries and executables
into a Profile/ directory to keep them separate from the Debug/ and
Release/ versions.  Also, it turns on ENABLE_OPTIMIZED automatically.

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

22 years agoLet CC invoke gcc and not cc. The latter doesn't work with either our
Vikram S. Adve [Fri, 20 Sep 2002 14:01:14 +0000 (14:01 +0000)]
Let CC invoke gcc and not cc.  The latter doesn't work with either our
source or some of our tests.

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

22 years agoInclude our config and system-specific Makefiles to get the
Vikram S. Adve [Fri, 20 Sep 2002 13:56:32 +0000 (13:56 +0000)]
Include our config and system-specific Makefiles to get the
right compilers and paths.

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

22 years agoFix data types header file and declarations to work on Linux.
Vikram S. Adve [Fri, 20 Sep 2002 01:05:16 +0000 (01:05 +0000)]
Fix data types header file and declarations to work on Linux.

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

22 years agoFix to avoid addition on pointers, which is no longer legal.
Vikram S. Adve [Fri, 20 Sep 2002 00:57:37 +0000 (00:57 +0000)]
Fix to avoid addition on pointers, which is no longer legal.

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

22 years agoAdd erase() method for a single element.
Vikram S. Adve [Fri, 20 Sep 2002 00:55:57 +0000 (00:55 +0000)]
Add erase() method for a single element.

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

22 years agoAdd method IGNode::getCombinedDegree to count the sum of the degrees
Vikram S. Adve [Fri, 20 Sep 2002 00:55:04 +0000 (00:55 +0000)]
Add method IGNode::getCombinedDegree to count the sum of the degrees
of two nodes, excluding duplicates.

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

22 years agoAdd PostOpts/ and rename PreSelection/ to PreOpts/.
Vikram S. Adve [Fri, 20 Sep 2002 00:53:53 +0000 (00:53 +0000)]
Add PostOpts/ and rename PreSelection/ to PreOpts/.

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

22 years agoAdd peephole optimization pass at the end of code generation.
Vikram S. Adve [Fri, 20 Sep 2002 00:52:43 +0000 (00:52 +0000)]
Add peephole optimization pass at the end of code generation.

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

22 years agoAdded class MachineOptInfo as interface to target-specific
Vikram S. Adve [Fri, 20 Sep 2002 00:52:09 +0000 (00:52 +0000)]
Added class MachineOptInfo as interface to target-specific
routines supporting machine code optimization.
Also added method MachineInstrInfo::getNOPOpCode().

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

22 years agoInterface to target-specific routines that support machine code optimization.
Vikram S. Adve [Fri, 20 Sep 2002 00:49:21 +0000 (00:49 +0000)]
Interface to target-specific routines that support machine code optimization.

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

22 years agoAdd method MachineInstr::replace to rewrite a machine instruction in place.
Vikram S. Adve [Fri, 20 Sep 2002 00:47:49 +0000 (00:47 +0000)]
Add method MachineInstr::replace to rewrite a machine instruction in place.

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

22 years agoAllow copy coalescing in more cases: if sum of node degrees is more than
Vikram S. Adve [Fri, 20 Sep 2002 00:45:47 +0000 (00:45 +0000)]
Allow copy coalescing in more cases: if sum of node degrees is more than
than #available regs, compute the sum excluding duplicates and if that
is less than #regs, go ahead and coalesce.
Add method IGNode::getCombinedDegree to count excluding duplicates.

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

22 years agoRenamed library preselect to preopts.
Vikram S. Adve [Fri, 20 Sep 2002 00:43:20 +0000 (00:43 +0000)]
Renamed library preselect to preopts.

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

22 years agoPeephole optimization pass on final machine code.
Vikram S. Adve [Fri, 20 Sep 2002 00:42:11 +0000 (00:42 +0000)]
Peephole optimization pass on final machine code.

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

22 years agoFiles moved to CodeGen/PreOpts.
Vikram S. Adve [Fri, 20 Sep 2002 00:30:46 +0000 (00:30 +0000)]
Files moved to CodeGen/PreOpts.

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

22 years agoMoving these files from Code/PreSelection to here.
Vikram S. Adve [Fri, 20 Sep 2002 00:29:28 +0000 (00:29 +0000)]
Moving these files from Code/PreSelection to here.
Original logs for PreSelection.cpp:

  revision 1.2
  date: 2002/09/17 23:50:32;  author: lattner;  state: Exp;  lines: +1 -3
  Don't put default parameter values into .cpp files, it breaks 3.x compilers

  revision 1.1
  date: 2002/09/16 15:31:13;  author: vadve;  state: Exp;
  New preselection pass that specializes LLVM code for a target machine,
  while remaining in legal portable LLVM form and preserving type
  information and type safety.

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

22 years agoReenable these options because they break testing on sparc without them.
Chris Lattner [Thu, 19 Sep 2002 21:46:03 +0000 (21:46 +0000)]
Reenable these options because they break testing on sparc without them.
Conditionalizing them on DISABLE_LLC means they aren't enabled under linux.

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

22 years agoNative CC compiler has the same problem as CXX compiler.
Chris Lattner [Thu, 19 Sep 2002 21:33:10 +0000 (21:33 +0000)]
Native CC compiler has the same problem as CXX compiler.

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

22 years agoDon't run llc tests on linux, they won't work.
Chris Lattner [Thu, 19 Sep 2002 21:32:44 +0000 (21:32 +0000)]
Don't run llc tests on linux, they won't work.

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

22 years agoWorkaround for bug in GCC 3.1.1 iostreams library on sparc. It apprarently
Chris Lattner [Thu, 19 Sep 2002 20:49:25 +0000 (20:49 +0000)]
Workaround for bug in GCC 3.1.1 iostreams library on sparc.  It apprarently
isn't flushing an ostream when it is deleted.

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

22 years agoMinor non-functionality changing changes.
Chris Lattner [Thu, 19 Sep 2002 20:48:48 +0000 (20:48 +0000)]
Minor non-functionality changing changes.

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

22 years agoReorder options to be sorted basically by how important they are.
Chris Lattner [Thu, 19 Sep 2002 19:59:42 +0000 (19:59 +0000)]
Reorder options to be sorted basically by how important they are.

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

22 years ago* Burg is no longer configured in Makefile.config
Chris Lattner [Thu, 19 Sep 2002 19:56:53 +0000 (19:56 +0000)]
* Burg is no longer configured in Makefile.config
* CXX now is configured in Makefile.config (optionally)
* The GCC command is now no longer bin/gcc, it's bin/llvm-gcc
* Minor cleanups

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

22 years agoPlatform specific makefiles specify where to find the GCC frontend for their
Chris Lattner [Thu, 19 Sep 2002 19:44:28 +0000 (19:44 +0000)]
Platform specific makefiles specify where to find the GCC frontend for their
architecture.  The location of the GCC frontend may be overridden by the
Makefile.config file.

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

22 years ago* Move the burg option into Makefile.common, since it is no longer configurable
Chris Lattner [Thu, 19 Sep 2002 19:43:29 +0000 (19:43 +0000)]
* Move the burg option into Makefile.common, since it is no longer configurable
* Makefile.config now should only specify the location of the gcc frontend if it
  is not in the place specified by the platform makefile.

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

22 years agoMove the burg option out of Makefile.config into Makefile.common since
Chris Lattner [Thu, 19 Sep 2002 19:42:24 +0000 (19:42 +0000)]
Move the burg option out of Makefile.config into Makefile.common since
it no longer needs to be configured.

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

22 years agoPoint gccld to the correct library directory.
Chris Lattner [Thu, 19 Sep 2002 19:22:30 +0000 (19:22 +0000)]
Point gccld to the correct library directory.

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

22 years agoAdd an optimization to support the most common access pattern for the
Chris Lattner [Thu, 19 Sep 2002 19:22:11 +0000 (19:22 +0000)]
Add an optimization to support the most common access pattern for the
library.  This speeds debug builds up significantly.

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

22 years agoSwitch over to using the x86 version of the C frontend, by default.
Chris Lattner [Thu, 19 Sep 2002 19:21:18 +0000 (19:21 +0000)]
Switch over to using the x86 version of the C frontend, by default.

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

22 years agoIt turns out that the cannonical name for the llvm-gcc compiler is, well
Chris Lattner [Thu, 19 Sep 2002 19:06:05 +0000 (19:06 +0000)]
It turns out that the cannonical name for the llvm-gcc compiler is, well
llvm-gcc, not gcc.

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

22 years agoAvoid Solaris-specific defines.
Vikram S. Adve [Thu, 19 Sep 2002 18:45:11 +0000 (18:45 +0000)]
Avoid Solaris-specific defines.

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

22 years agoNew testcase that breaks the CFE.
Chris Lattner [Thu, 19 Sep 2002 16:54:57 +0000 (16:54 +0000)]
New testcase that breaks the CFE.

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

22 years agoMake sure that we abort if an error happens as early as neccesary. Before
Chris Lattner [Thu, 19 Sep 2002 16:12:19 +0000 (16:12 +0000)]
Make sure that we abort if an error happens as early as neccesary.  Before
it was possible for the passmanager to continue running passes after the
verifier even if the module was not well formed.

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

22 years agoIndent a comment right, add a new one
Chris Lattner [Thu, 19 Sep 2002 16:06:28 +0000 (16:06 +0000)]
Indent a comment right, add a new one

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

22 years agoAdd support for passing in arbitrary flags to gmake (except -n and -h
Vikram S. Adve [Thu, 19 Sep 2002 14:54:53 +0000 (14:54 +0000)]
Add support for passing in arbitrary flags to gmake (except -n and -h
which are interpreted by this script).

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

22 years agoNew testcase for a bug fixed in the GCC SSA construction algorithm:
Chris Lattner [Thu, 19 Sep 2002 04:23:59 +0000 (04:23 +0000)]
New testcase for a bug fixed in the GCC SSA construction algorithm:
http://gcc.gnu.org/ml/gcc/2002-09/msg00760.html

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

22 years agoAvoid deleting the ostream more than once.
Chris Lattner [Wed, 18 Sep 2002 23:30:05 +0000 (23:30 +0000)]
Avoid deleting the ostream more than once.

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

22 years agoFix to work in new location (utils/) and to use gmake instead of gnumake
Vikram S. Adve [Wed, 18 Sep 2002 23:22:27 +0000 (23:22 +0000)]
Fix to work in new location (utils/) and to use gmake instead of gnumake
since gnumake doesn't exist on our new spiffy Linux machines.

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

22 years agoChange Makefile.config to support building on the group's linux machines
Chris Lattner [Wed, 18 Sep 2002 19:32:17 +0000 (19:32 +0000)]
Change Makefile.config to support building on the group's linux machines

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

22 years agoKEEP_SYMBOLS by default.
Vikram S. Adve [Wed, 18 Sep 2002 11:55:44 +0000 (11:55 +0000)]
KEEP_SYMBOLS by default.

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

22 years agoStrip tools/Debug/ executables by default. Define KEEP_SYMBOLS to
Vikram S. Adve [Wed, 18 Sep 2002 11:55:13 +0000 (11:55 +0000)]
Strip tools/Debug/ executables by default.  Define KEEP_SYMBOLS to
turn off stripping for any executable.

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

22 years agoClean up tags, link to the right .h file
Chris Lattner [Wed, 18 Sep 2002 05:14:25 +0000 (05:14 +0000)]
Clean up tags, link to the right .h file

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

22 years agocorrected small bug, to handle when DIRS is not defined.
Anand Shukla [Wed, 18 Sep 2002 04:29:30 +0000 (04:29 +0000)]
corrected small bug, to handle when DIRS is not defined.

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

22 years agosplit retracing into a separate file
Anand Shukla [Wed, 18 Sep 2002 03:55:26 +0000 (03:55 +0000)]
split retracing into a separate file

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

22 years agoCompile sub-directories in parallel, because they don't have interdependencies
Chris Lattner [Wed, 18 Sep 2002 03:25:58 +0000 (03:25 +0000)]
Compile sub-directories in parallel, because they don't have interdependencies

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

22 years agoAdd support for the new PARALLEL_DIRS option
Chris Lattner [Wed, 18 Sep 2002 03:22:27 +0000 (03:22 +0000)]
Add support for the new PARALLEL_DIRS option

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

22 years agoFinished instruction replacement section, etc. Need better example for replaceAllUse...
Joel Stanley [Wed, 18 Sep 2002 03:17:23 +0000 (03:17 +0000)]
Finished instruction replacement section, etc.  Need better example for replaceAllUsesWith().

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

22 years agoFixed grammar.
Misha Brukman [Wed, 18 Sep 2002 02:35:14 +0000 (02:35 +0000)]
Fixed grammar.

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

22 years agoFixed grammar (User's -> Users).
Misha Brukman [Wed, 18 Sep 2002 02:21:57 +0000 (02:21 +0000)]
Fixed grammar (User's -> Users).

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

22 years agogcc3.1.1 seems much more selective about what it loads from archives, and
Vikram S. Adve [Wed, 18 Sep 2002 02:20:58 +0000 (02:20 +0000)]
gcc3.1.1 seems much more selective about what it loads from archives, and
does not link in many passes that are loaded by gcc2.95.3.  So use object
files instead of archives in many more cases.

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

22 years agoRemoved unnecessary #includes.
Misha Brukman [Wed, 18 Sep 2002 02:07:57 +0000 (02:07 +0000)]
Removed unnecessary #includes.

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

22 years agoFixed typo.
Misha Brukman [Wed, 18 Sep 2002 00:42:45 +0000 (00:42 +0000)]
Fixed typo.

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

22 years agoFix ambiguity problem due to builtin log2(double) function
Chris Lattner [Tue, 17 Sep 2002 23:56:50 +0000 (23:56 +0000)]
Fix ambiguity problem due to builtin log2(double) function

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

22 years agoDon't put default parameter values into .cpp files, it breaks 3.x compilers
Chris Lattner [Tue, 17 Sep 2002 23:50:32 +0000 (23:50 +0000)]
Don't put default parameter values into .cpp files, it breaks 3.x compilers

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

22 years agoFix namespace correctness bug
Chris Lattner [Tue, 17 Sep 2002 23:48:02 +0000 (23:48 +0000)]
Fix namespace correctness bug

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

22 years agoThere is a #define in some header that conflicts with INFINITY, rename it.
Chris Lattner [Tue, 17 Sep 2002 23:46:33 +0000 (23:46 +0000)]
There is a #define in some header that conflicts with INFINITY, rename it.

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

22 years agoAllow the VERBOSE=1 option to turn on output of recursive make behavior
Chris Lattner [Tue, 17 Sep 2002 23:45:34 +0000 (23:45 +0000)]
Allow the VERBOSE=1 option to turn on output of recursive make behavior

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

22 years agoAdd support for gcc 3.2
Chris Lattner [Tue, 17 Sep 2002 23:38:38 +0000 (23:38 +0000)]
Add support for gcc 3.2

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

22 years agoFix parallel recursive make to build directories in order
Chris Lattner [Tue, 17 Sep 2002 23:35:02 +0000 (23:35 +0000)]
Fix parallel recursive make to build directories in order

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

22 years agoUse locally built burg
Chris Lattner [Tue, 17 Sep 2002 23:24:57 +0000 (23:24 +0000)]
Use locally built burg

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

22 years agoBuild burg tree
Chris Lattner [Tue, 17 Sep 2002 23:23:52 +0000 (23:23 +0000)]
Build burg tree

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

22 years agoTEst commit
Chris Lattner [Tue, 17 Sep 2002 23:22:31 +0000 (23:22 +0000)]
TEst commit

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

22 years agoTest commit
Chris Lattner [Tue, 17 Sep 2002 23:20:47 +0000 (23:20 +0000)]
Test commit

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

22 years agoTest change
Chris Lattner [Tue, 17 Sep 2002 23:19:46 +0000 (23:19 +0000)]
Test change

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

22 years agoWe need an 'all' target to build burg, add it back
Chris Lattner [Tue, 17 Sep 2002 23:19:14 +0000 (23:19 +0000)]
We need an 'all' target to build burg, add it back

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

22 years agoDon't run tests by default
Chris Lattner [Tue, 17 Sep 2002 23:04:24 +0000 (23:04 +0000)]
Don't run tests by default

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

22 years agoInitial checkin of burg documetnation files
Chris Lattner [Tue, 17 Sep 2002 23:03:35 +0000 (23:03 +0000)]
Initial checkin of burg documetnation files

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

22 years agoInitial checkin of burg files
Chris Lattner [Tue, 17 Sep 2002 23:03:30 +0000 (23:03 +0000)]
Initial checkin of burg files

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

22 years agoAvoid using two i's in the same statements
Chris Lattner [Tue, 17 Sep 2002 22:43:00 +0000 (22:43 +0000)]
Avoid using two i's in the same statements

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

22 years agoFix bug: test/Regression/Transforms/InstCombine/2002-09-17-GetElementPtrCrash.ll
Chris Lattner [Tue, 17 Sep 2002 21:05:42 +0000 (21:05 +0000)]
Fix bug: test/Regression/Transforms/InstCombine/2002-09-17-GetElementPtrCrash.ll
Thanks to Casey for finding it!

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

22 years agoNew regression test
Chris Lattner [Tue, 17 Sep 2002 21:02:24 +0000 (21:02 +0000)]
New regression test

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

22 years agoConvert to use long indexes instead of uint
Chris Lattner [Tue, 17 Sep 2002 20:47:46 +0000 (20:47 +0000)]
Convert to use long indexes instead of uint

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

22 years agoEnable correct support for dynamic loading on Linux
Chris Lattner [Tue, 17 Sep 2002 20:40:24 +0000 (20:40 +0000)]
Enable correct support for dynamic loading on Linux

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

22 years agoEnable correct support for dynamic loading on Linux
Chris Lattner [Tue, 17 Sep 2002 20:40:22 +0000 (20:40 +0000)]
Enable correct support for dynamic loading on Linux

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

22 years agoRemoved debug info printing
Anand Shukla [Tue, 17 Sep 2002 20:24:46 +0000 (20:24 +0000)]
Removed debug info printing

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

22 years agoAdd support for GCC 2.96
Chris Lattner [Tue, 17 Sep 2002 17:23:09 +0000 (17:23 +0000)]
Add support for GCC 2.96

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

22 years agoRemove extra #include
Chris Lattner [Tue, 17 Sep 2002 17:18:12 +0000 (17:18 +0000)]
Remove extra #include

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

22 years agoFix typeo
Chris Lattner [Tue, 17 Sep 2002 16:47:06 +0000 (16:47 +0000)]
Fix typeo

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

22 years agoDon't print global variable definitions twice! Sun's pathetic compiler
Vikram S. Adve [Tue, 17 Sep 2002 11:50:38 +0000 (11:50 +0000)]
Don't print global variable definitions twice!  Sun's pathetic compiler
never complained about this.

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

22 years agoFix typo in comment.
Vikram S. Adve [Tue, 17 Sep 2002 11:09:59 +0000 (11:09 +0000)]
Fix typo in comment.

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

22 years agoRemove specification of argument default from cpp file.
Vikram S. Adve [Tue, 17 Sep 2002 01:17:57 +0000 (01:17 +0000)]
Remove specification of argument default from cpp file.

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

22 years agoRemove warning that is no longer applicable
Chris Lattner [Mon, 16 Sep 2002 22:37:56 +0000 (22:37 +0000)]
Remove warning that is no longer applicable

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

22 years agoComment line of the makefile
Chris Lattner [Mon, 16 Sep 2002 22:36:42 +0000 (22:36 +0000)]
Comment line of the makefile

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

22 years agoHandle whitespace in LIBRARYNAME gracefully
Chris Lattner [Mon, 16 Sep 2002 22:34:56 +0000 (22:34 +0000)]
Handle whitespace in LIBRARYNAME gracefully

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

22 years agoFix FunctionInlining pass assertion failure:
Chris Lattner [Mon, 16 Sep 2002 22:30:20 +0000 (22:30 +0000)]
Fix FunctionInlining pass assertion failure:
ilist:104: failed assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"'

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

22 years agoFix typeo
Chris Lattner [Mon, 16 Sep 2002 22:08:07 +0000 (22:08 +0000)]
Fix typeo

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

22 years agoFix compile problem on linux. Noone should ever #include <inttypes.h>
Chris Lattner [Mon, 16 Sep 2002 20:44:19 +0000 (20:44 +0000)]
Fix compile problem on linux.  Noone should ever #include <inttypes.h>
directly.  Instead, include Support/DataTypes.h

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

22 years agoRun the cee pass tests
Chris Lattner [Mon, 16 Sep 2002 19:09:11 +0000 (19:09 +0000)]
Run the cee pass tests

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

22 years agoChecking testcases for cee pass
Chris Lattner [Mon, 16 Sep 2002 19:08:36 +0000 (19:08 +0000)]
Checking testcases for cee pass

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

22 years agoFix: test/Regression/LLC/badidx.c problem
Chris Lattner [Mon, 16 Sep 2002 18:32:33 +0000 (18:32 +0000)]
Fix: test/Regression/LLC/badidx.c problem

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

22 years agoRemove duplicate sparc entry.
Vikram S. Adve [Mon, 16 Sep 2002 18:28:27 +0000 (18:28 +0000)]
Remove duplicate sparc entry.

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

22 years agoUse .o files instead of .a files for several cases (that don't actually
Vikram S. Adve [Mon, 16 Sep 2002 18:13:12 +0000 (18:13 +0000)]
Use .o files instead of .a files for several cases (that don't actually
need them) until other Makefiles can be updated to build archives.

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

22 years agoPrint information about files that were removed
Chris Lattner [Mon, 16 Sep 2002 18:09:42 +0000 (18:09 +0000)]
Print information about files that were removed

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

22 years agoNew preselection pass that specializes LLVM code for a target machine,
Vikram S. Adve [Mon, 16 Sep 2002 18:08:17 +0000 (18:08 +0000)]
New preselection pass that specializes LLVM code for a target machine,
while remaining in legal portable LLVM form and preserving type
information and type safety.

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