Chris Lattner [Sat, 21 Jun 2003 21:45:56 +0000 (21:45 +0000)]
Clarify that variables must be global
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6835
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2003 20:09:01 +0000 (20:09 +0000)]
update documentation about columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2003 18:15:27 +0000 (18:15 +0000)]
Minor simplification to 64-bit instsel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6831
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2003 17:16:58 +0000 (17:16 +0000)]
For 16 and 32-bit multiplies, use the IMUL instruction instead of the MUL instruction.
This allows us to not force the use of the EAX/AX registers!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6830
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2003 17:13:35 +0000 (17:13 +0000)]
Add IMULr16 & IMULr32 instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2003 16:01:24 +0000 (16:01 +0000)]
Generate code for LONG indexes to getelementptr instructions more efficiently
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jun 2003 23:14:50 +0000 (23:14 +0000)]
Some preprocessors doen't support // comments and get confused
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6821
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jun 2003 23:01:23 +0000 (23:01 +0000)]
Remove obsolete support for LD_LIBRARY_PATH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6815
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 20 Jun 2003 21:37:31 +0000 (21:37 +0000)]
Updated to the new Makefile.common.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6814
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 20 Jun 2003 21:24:54 +0000 (21:24 +0000)]
Reverted back to revision 1.91.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6812
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 20 Jun 2003 18:35:39 +0000 (18:35 +0000)]
Added a hack that takes the path relative to the home directory into account
if a home directory is provided by the environment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6805
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 20 Jun 2003 16:14:49 +0000 (16:14 +0000)]
The modifications to LD_LIBRARY_PATH now add the specified paths to the
beginning of LD_LIBRARY_PATH as opposed to simply replacing it.
This allows users to use LD_LIBRARY_PATH when running tests (useful for
when they have installed their own version of GCC).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6800
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jun 2003 15:49:04 +0000 (15:49 +0000)]
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6799
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jun 2003 15:41:57 +0000 (15:41 +0000)]
Fix problem building optmized build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jun 2003 14:36:52 +0000 (14:36 +0000)]
Fix the build. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6797
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 20 Jun 2003 11:32:11 +0000 (11:32 +0000)]
RDCCR defines arg. #1, not arg. #2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6796
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 21:15:26 +0000 (21:15 +0000)]
Changes to privatize NodeType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6795
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 21:15:11 +0000 (21:15 +0000)]
* Changes to make NodeType be private to DSNode.
* Add new MultiObject flag to DSNode which keeps track of whether or not
multiple objects have been merged into the node, allowing must-alias info
to be tracked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6794
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 21:14:22 +0000 (21:14 +0000)]
Lots of changes to make the NodeType field private to DSNode.
Add new MultiObject flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6793
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 19 Jun 2003 19:58:32 +0000 (19:58 +0000)]
Fix output bug: Intel asm comment character is #, not ;.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6792
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 19 Jun 2003 19:41:13 +0000 (19:41 +0000)]
RECAPITALIZE all the names of pseudo-instructions, and add a comment explaining
the convention.
:-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6791
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 19 Jun 2003 19:34:44 +0000 (19:34 +0000)]
Rename many instructions to their Intel asm-compatible names. This
involves removing the [bwl] suffixes from instruction names, as well
as some other distinguishing marks (32/64/80 on fp insns, _i suffixes, etc.)
Lowercase all instr. names as well for consistency's sake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6790
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 19 Jun 2003 19:32:32 +0000 (19:32 +0000)]
Add Initialization and Finalization methods for the Printer pass,
to print various things on a module-by-module basis (currently, only the
former is used).
Don't print < > around names. The assembler can't take it.
Print pseudoinstructions only as comments. The poor little assembler can't
take that, either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6789
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 18:42:09 +0000 (18:42 +0000)]
Remove usage of sys/unistd.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6788
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 17:03:51 +0000 (17:03 +0000)]
Funcresolve no longer performs nicification of resolved functions
instcombine does this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6787
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 17:03:00 +0000 (17:03 +0000)]
Update comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6785
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 17:02:06 +0000 (17:02 +0000)]
The actual nicification of calls is now implemented in instcombine, not in
funcresolve
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6784
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 17:00:31 +0000 (17:00 +0000)]
Implement the functionality of InstCombine/call.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6783
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 19 Jun 2003 16:59:19 +0000 (16:59 +0000)]
Remove a bunch of complicated code. The functionality is implemented in instcombine instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6782
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 22:48:11 +0000 (22:48 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6781
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 18 Jun 2003 21:43:33 +0000 (21:43 +0000)]
tools/llc/llc.cpp: Make "-o -" work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6780
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 18 Jun 2003 21:43:21 +0000 (21:43 +0000)]
lib/Target/X86/X86TargetMachine.{cpp,h}: Add initial version
(non-working) of llc guts for X86, and add a prototype for it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6779
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 21:30:51 +0000 (21:30 +0000)]
Diversify examples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6778
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 21:28:11 +0000 (21:28 +0000)]
fix incorrect anchor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6777
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 18 Jun 2003 21:14:23 +0000 (21:14 +0000)]
lib/Target/Sparc/Sparc.cpp:
Move LowerAllocations, PrintFunction, and SymbolStripping passes, and
the corresponding -disable-strip and -d options, over here to the SPARC
target-specific bits of llc. Rename -d to -dump-asm.
tools/llc/Makefile:
Reindent. Add x86 library so that llc compiles again.
tools/llc/llc.cpp:
Remove support for running arbitrary optimization passes. Use opt instead.
Remove LowerAllocations, PrintFunction, and SymbolStripping passes, as noted
above.
Allow user to select a backend (x86 or SPARC); default to guessing from
the endianness/pointer size of the input bytecode file.
Fix typos.
Delete empty .s file and exit with error status if target does not support
static compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6776
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 19:39:06 +0000 (19:39 +0000)]
Move llvm tools to the start of the testrunner path, which allows the llvm 'as'
tool to be found in preference to the system 'as' tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6775
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 19:22:36 +0000 (19:22 +0000)]
Detemplatize the PATypeHandle class, which was only really instantiated on 'Type'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6774
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 19:20:11 +0000 (19:20 +0000)]
Remove extra line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6773
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 18:46:08 +0000 (18:46 +0000)]
Reindent code to match the rest of the file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6772
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 18:26:22 +0000 (18:26 +0000)]
Fix breakage due to John's recent changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6771
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 16:29:02 +0000 (16:29 +0000)]
Add new DAE pass to gccld. It does not add cause any regressions in the test-suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6770
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 16:25:51 +0000 (16:25 +0000)]
Handle arguments passed in through the va_arg area
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6769
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jun 2003 15:09:02 +0000 (15:09 +0000)]
These instructions really take three operands. This fixes some assertions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6765
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 23:55:35 +0000 (23:55 +0000)]
lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code here
into a new function FPCSafeToPrint(), and use it in printConstant()
and printFunction() to decide whether we should output ConstantFPs as
floating-point constants or as references to stack-allocated variables.
lib/VMCore/AsmWriter.cpp: Fix an apparent typo in the code mentioned above.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6762
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 23:14:06 +0000 (23:14 +0000)]
Add #ifdef hack for MAP_ANONYMOUS being spelled MAP_ANON on some platforms.
(We're already talking about autoconf'ing this, so I'm assuming this hack
will be short-lived...I just don't want it to get lost in my working files.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6761
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 22:21:55 +0000 (22:21 +0000)]
Make testcase more interesting, remove absolute path from -load line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6760
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 22:21:05 +0000 (22:21 +0000)]
Initial checkin of DAE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6759
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 22:16:59 +0000 (22:16 +0000)]
* Add new CallSite::get factory method
* add new setCalledFunction method
* FIX arg_end method which was horribly broken!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6758
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 22:15:55 +0000 (22:15 +0000)]
Add new op_erase method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6757
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 21:44:51 +0000 (21:44 +0000)]
Make sure accessor is properly doxygenized. It wants two lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6756
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 21:44:31 +0000 (21:44 +0000)]
Add accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6755
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 20:55:04 +0000 (20:55 +0000)]
Fix to mesh with Johns recent changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6754
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 20:09:18 +0000 (20:09 +0000)]
Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where
it is needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6753
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 20:08:02 +0000 (20:08 +0000)]
Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6752
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 19:59:17 +0000 (19:59 +0000)]
Use std::isnan instead of isnan. Brought back to you from the
future, by the reconciliation of the C++ and C99 standards. Someday.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6751
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 19:54:00 +0000 (19:54 +0000)]
Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6750
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 19:50:28 +0000 (19:50 +0000)]
Make CallSite's default constructable, copyable, and assignable (explicitly)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6749
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 19:14:59 +0000 (19:14 +0000)]
Life is too short. Link in too much stuff on Linux to make building on sun easier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6748
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 18:19:52 +0000 (18:19 +0000)]
The never-ending odyssey trying to get sparc to link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6747
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 17:53:35 +0000 (17:53 +0000)]
Make sure to get the value of ARCH before we use it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6746
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:54:52 +0000 (15:54 +0000)]
Do not link in the Sparc JIT when building on X86. Eventually the sparc will not
link in the X86 JIT either, but this makes testing easier.
For some reason, the sparc JIT was breaking the X86 JIT when it was linked in. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6745
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:54:02 +0000 (15:54 +0000)]
Apparently "sparc" is a macro on sparcs. Ugh. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6744
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:46:34 +0000 (15:46 +0000)]
Whoops, didn't mean to check that in :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6743
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:43:13 +0000 (15:43 +0000)]
Use more structured command line option processing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6742
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:32:38 +0000 (15:32 +0000)]
#ifdef out code that only applies when the HOSTARCH = sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6741
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:25:37 +0000 (15:25 +0000)]
Implement handling of constantexprs for disambiguation. This implements
BasicAA/featuretest.ll:constexpr_test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6740
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:16:35 +0000 (15:16 +0000)]
Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6739
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 15:07:20 +0000 (15:07 +0000)]
Avoid divide by zero errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6738
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 14:30:21 +0000 (14:30 +0000)]
Fix misspelling of ExtraSources, hopefully to unbreak the nightly tester
Remove evil rcs tag :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6737
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 13:31:10 +0000 (13:31 +0000)]
Fix bug: Assembler/2003-06-17-InvokeDisassemble.llx
"yes, invoke instructions can have just three arguments"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6736
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 13:21:13 +0000 (13:21 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6735
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 04:39:14 +0000 (04:39 +0000)]
Fairly major change: emit fixed sized allocas in the entry block as a variable,
instead of a variable pointer and an alloca. All accesses to the variable then
use the address-of operator to access it. This plays better with the internal
GCC code generation phases, which bail early on functions which contain allocas.
It also makes the code a bit easier to read.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6734
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 03:57:18 +0000 (03:57 +0000)]
Don't corrupt memory when removing an instruction from the program, but
not the worklist
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6733
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 17 Jun 2003 00:35:55 +0000 (00:35 +0000)]
Regularize the names of #include-guards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6732
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 00:27:43 +0000 (00:27 +0000)]
Just _EXTEND_ the current path. Don't replace it. Replacing it makes it
impossible for scripts to find user tools like sed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6731
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2003 00:03:56 +0000 (00:03 +0000)]
Arg, sparc doesn't have correct things in math.h!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6729
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Jun 2003 23:57:13 +0000 (23:57 +0000)]
Don't include alloca.h on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6728
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 22:29:09 +0000 (22:29 +0000)]
Actually, change it to use explicit new/delete, which is more likely to be
optimized INTO an alloca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6727
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 22:22:11 +0000 (22:22 +0000)]
Remove usage of alloca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6726
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 22:18:28 +0000 (22:18 +0000)]
Remove two using decls
Remove usage of alloca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6725
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Jun 2003 22:01:55 +0000 (22:01 +0000)]
Basically this is the same as Makefile.Linux, at least for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6724
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Jun 2003 21:54:01 +0000 (21:54 +0000)]
Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h",
so that we can easily change its use to be conditional on the result of
an autoconf test later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6723
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Jun 2003 21:18:20 +0000 (21:18 +0000)]
Whoops. I didn't mean to step on John's changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6722
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Jun 2003 21:14:57 +0000 (21:14 +0000)]
This version supports FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6721
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 16 Jun 2003 19:16:32 +0000 (19:16 +0000)]
Reconfigured the TOOLS variable so that it points to the current set of tools
built by the LLVM build.
Added a path for use with the TestRunner.sh script so that it can always find
the LLVM tools without having the user place them in his or her path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6720
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 16 Jun 2003 19:14:31 +0000 (19:14 +0000)]
Modified the environment variables that determine where things are located to
do the following:
1) Determine their default values without $HOME
2) Configure the default values as full absolute pathnames.
This should help fix the nightly test builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6719
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 15:31:52 +0000 (15:31 +0000)]
Rename FInfo.cpp to FunctionInfo.cpp, eliminate FInfo.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6712
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 15:31:09 +0000 (15:31 +0000)]
move contents of include/llvm/Reoptimizer/Mapping/FInfo.h into here, it is sparc internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6711
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 14:04:18 +0000 (14:04 +0000)]
Minor tweak to make testcase less simple
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6710
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 13:33:59 +0000 (13:33 +0000)]
New testcase identified by joel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6709
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 13:16:20 +0000 (13:16 +0000)]
New testcase identified by joel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6708
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:27:12 +0000 (12:27 +0000)]
Fix final linking errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6707
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:25:11 +0000 (12:25 +0000)]
Fix link errors by adding main's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6706
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:23:27 +0000 (12:23 +0000)]
Fix link problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6705
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:21:19 +0000 (12:21 +0000)]
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6704
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:16:52 +0000 (12:16 +0000)]
Add prototype for the new DAE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6703
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:11:33 +0000 (12:11 +0000)]
Fix bug: Linker/2003-06-02-TypeResolveProblem2.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6699
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:10:45 +0000 (12:10 +0000)]
Fix bug: ADCE/2003-06-11-InvalidCFG.ll
This was because we were deleting large chunks of functions without an exit block, because the post-dominance
information was not useful. This broke crafty and twolf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6698
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:09:09 +0000 (12:09 +0000)]
Fix bug: CBackend/2003-06-11-HexConstant.ll
Fix bug: CBackend/2003-06-11-LiteralStringProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6697
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2003 12:08:18 +0000 (12:08 +0000)]
Nodes get forwarded when they are collapsed currently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6696
91177308-0d34-0410-b5e6-
96231b3b80d8