oota-llvm.git
21 years agoAdded the ability to run the QMTests. It is currently not enabled by default,
John Criswell [Thu, 21 Aug 2003 15:09:29 +0000 (15:09 +0000)]
Added the ability to run the QMTests.  It is currently not enabled by default,
but is here in case others want to start trying it out.

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

21 years agoUpdated to reflect current work:
John Criswell [Thu, 21 Aug 2003 15:06:06 +0000 (15:06 +0000)]
Updated to reflect current work:
1. Chris fixed the sys/select.h hack
2. The pool allocator now lives in its own tree.  Reoptimizer still
   needs to be done.
3. The USE_SPEC option now works.

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

21 years agoUnless we CANNOT merge the arguments, do so
Chris Lattner [Wed, 20 Aug 2003 23:50:38 +0000 (23:50 +0000)]
Unless we CANNOT merge the arguments, do so

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

21 years agoPoint to the RIGHT GCC library directory
Chris Lattner [Wed, 20 Aug 2003 22:42:17 +0000 (22:42 +0000)]
Point to the RIGHT GCC library directory

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

21 years agoPoint to the correct cc1/cc1plus binaries
Chris Lattner [Wed, 20 Aug 2003 22:11:45 +0000 (22:11 +0000)]
Point to the correct cc1/cc1plus binaries

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

21 years agoAdded #include <cassert>. In GCC 3.3, we don't get assert() through the other
John Criswell [Wed, 20 Aug 2003 22:07:45 +0000 (22:07 +0000)]
Added #include <cassert>.  In GCC 3.3, we don't get assert() through the other
language header files like we did under 3.2.1, and we're not grabbing it
through the LLVM header files either.  So just include it directly.

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

21 years agoAdded dummy version of the `util' library.
Misha Brukman [Wed, 20 Aug 2003 21:44:04 +0000 (21:44 +0000)]
Added dummy version of the `util' library.

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

21 years agoAdded dummy library `libutempter' for non-privileged access to utmp/wtmp data.
Misha Brukman [Wed, 20 Aug 2003 21:42:01 +0000 (21:42 +0000)]
Added dummy library `libutempter' for non-privileged access to utmp/wtmp data.

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

21 years agoMake the bytecode file executable as well for LLEE purposes.
Misha Brukman [Wed, 20 Aug 2003 20:38:15 +0000 (20:38 +0000)]
Make the bytecode file executable as well for LLEE purposes.

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

21 years agoSimplify testcase even more
Chris Lattner [Wed, 20 Aug 2003 20:36:09 +0000 (20:36 +0000)]
Simplify testcase even more

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

21 years agoNew makefile for new directory
Chris Lattner [Wed, 20 Aug 2003 20:24:16 +0000 (20:24 +0000)]
New makefile for new directory

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

21 years agonew testcase
Chris Lattner [Wed, 20 Aug 2003 20:24:09 +0000 (20:24 +0000)]
new testcase

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

21 years agonew testcase
Chris Lattner [Wed, 20 Aug 2003 19:48:18 +0000 (19:48 +0000)]
new testcase

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

21 years agonew testcase
Chris Lattner [Wed, 20 Aug 2003 19:22:28 +0000 (19:22 +0000)]
new testcase

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

21 years agoWhoa, GCC accepts this. Whack.
Chris Lattner [Wed, 20 Aug 2003 18:25:04 +0000 (18:25 +0000)]
Whoa, GCC accepts this.  Whack.

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

21 years agoNew testcase, distilled from bison
Chris Lattner [Wed, 20 Aug 2003 18:17:13 +0000 (18:17 +0000)]
New testcase, distilled from bison

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

21 years agoNew testcase, distilled from 'screen' by Misha
Chris Lattner [Wed, 20 Aug 2003 16:13:10 +0000 (16:13 +0000)]
New testcase, distilled from 'screen' by Misha

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

21 years agoImplement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llx
Chris Lattner [Wed, 20 Aug 2003 16:11:27 +0000 (16:11 +0000)]
Implement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llx

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

21 years agoNew testcase for GEP folding
Chris Lattner [Wed, 20 Aug 2003 16:11:05 +0000 (16:11 +0000)]
New testcase for GEP folding

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

21 years agoCatch testing errors
Chris Lattner [Wed, 20 Aug 2003 15:44:33 +0000 (15:44 +0000)]
Catch testing errors

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

21 years agoFix bug where we printed the month number instead of the day number *blush*
Chris Lattner [Wed, 20 Aug 2003 15:33:33 +0000 (15:33 +0000)]
Fix bug where we printed the month number instead of the day number *blush*

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

21 years agoModified the SUFFIXES pseudo targets so that we remove all default suffixes
John Criswell [Wed, 20 Aug 2003 15:18:41 +0000 (15:18 +0000)]
Modified the SUFFIXES pseudo targets so that we remove all default suffixes
and explicitly declare all the ones we're using for LLVM.
This quickly cancels many of GNU Make's implicit rules and reduces build time.
The only caveat is that any new suffixes may need to be explictly added to
the .SUFFIXES pseudo target.

Removed the -only-static option as it is no longer used.

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

21 years agoAdd ParseEnvironmentOptions documentation
Brian Gaeke [Tue, 19 Aug 2003 23:11:43 +0000 (23:11 +0000)]
Add ParseEnvironmentOptions documentation

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

21 years agoAdd warning about how you have to put cl::init after cl::location, if both
Brian Gaeke [Tue, 19 Aug 2003 22:56:22 +0000 (22:56 +0000)]
Add warning about how you have to put cl::init after cl::location, if both
appear for the same option.

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

21 years agoMake testcase more interesting
Chris Lattner [Tue, 19 Aug 2003 21:57:23 +0000 (21:57 +0000)]
Make testcase more interesting

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

21 years agoMake assertion message more helpful in a case that might happen...
Chris Lattner [Tue, 19 Aug 2003 21:57:00 +0000 (21:57 +0000)]
Make assertion message more helpful in a case that might happen...

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

21 years agoFix bugs in tester
Chris Lattner [Tue, 19 Aug 2003 18:35:03 +0000 (18:35 +0000)]
Fix bugs in tester
Add new -norunningtests option

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

21 years agoX86.td has been moved out of this directory; these are outdated targets.
Misha Brukman [Tue, 19 Aug 2003 16:11:38 +0000 (16:11 +0000)]
X86.td has been moved out of this directory; these are outdated targets.

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

21 years agoSince we broke up SingleSource and MultiSource testing, the logs are now
Misha Brukman [Tue, 19 Aug 2003 15:54:16 +0000 (15:54 +0000)]
Since we broke up SingleSource and MultiSource testing, the logs are now
separate as well.

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

21 years agoDo not force a runtimelimit! We were actually reducing it.
Chris Lattner [Tue, 19 Aug 2003 15:08:34 +0000 (15:08 +0000)]
Do not force a runtimelimit!  We were actually reducing it.
Start running LARGE_PROBLEM_SIZE tests on Olden, keeping track of the results.

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

21 years agoIncrease the size of the LOC chart
Chris Lattner [Tue, 19 Aug 2003 14:27:44 +0000 (14:27 +0000)]
Increase the size of the LOC chart

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

21 years agoFix grammar, add comment
Chris Lattner [Mon, 18 Aug 2003 22:54:06 +0000 (22:54 +0000)]
Fix grammar, add comment

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

21 years agoFix buggy testcase
Chris Lattner [Mon, 18 Aug 2003 22:34:14 +0000 (22:34 +0000)]
Fix buggy testcase

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

21 years agono-strict-aliasing redux
Chris Lattner [Mon, 18 Aug 2003 22:32:48 +0000 (22:32 +0000)]
no-strict-aliasing redux

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

21 years agoThe CBE generates code which violates the TBAA rules of C, thus we must disable
Chris Lattner [Mon, 18 Aug 2003 22:32:03 +0000 (22:32 +0000)]
The CBE generates code which violates the TBAA rules of C, thus we must disable
optimizations based on these rules.  :(

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

21 years agoDo not even attempt to compute dominator information for unreachable blocks
Chris Lattner [Mon, 18 Aug 2003 22:11:16 +0000 (22:11 +0000)]
Do not even attempt to compute dominator information for unreachable blocks

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

21 years agoAdd new methods, update comments
Chris Lattner [Mon, 18 Aug 2003 22:10:57 +0000 (22:10 +0000)]
Add new methods, update comments

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

21 years agoMake the testcase more interesting
Chris Lattner [Mon, 18 Aug 2003 21:44:10 +0000 (21:44 +0000)]
Make the testcase more interesting

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

21 years agoAdd new -disable-verify option
Chris Lattner [Mon, 18 Aug 2003 20:47:13 +0000 (20:47 +0000)]
Add new -disable-verify option

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

21 years agoNew testcase distilled from mutt
Chris Lattner [Mon, 18 Aug 2003 20:19:18 +0000 (20:19 +0000)]
New testcase distilled from mutt

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

21 years agoRemove fixme
Chris Lattner [Mon, 18 Aug 2003 20:08:32 +0000 (20:08 +0000)]
Remove fixme

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

21 years agoAdd the magic incantations to get a running LOC graph updated each night...
Chris Lattner [Mon, 18 Aug 2003 20:07:54 +0000 (20:07 +0000)]
Add the magic incantations to get a running LOC graph updated each night...

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

21 years agoAdd in the running LOC chart
Chris Lattner [Mon, 18 Aug 2003 19:59:28 +0000 (19:59 +0000)]
Add in the running LOC chart

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

21 years agono really, implement it!
Chris Lattner [Mon, 18 Aug 2003 17:33:15 +0000 (17:33 +0000)]
no really, implement it!

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

21 years agoAdd new cleandeps target, to allow easy cleaning out of .d files
Chris Lattner [Mon, 18 Aug 2003 17:27:40 +0000 (17:27 +0000)]
Add new cleandeps target, to allow easy cleaning out of .d files

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

21 years agoAdd support for casting any pointer to any integer type
Chris Lattner [Mon, 18 Aug 2003 17:23:40 +0000 (17:23 +0000)]
Add support for casting any pointer to any integer type

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

21 years agoFix linking bug in xboard
Chris Lattner [Mon, 18 Aug 2003 16:54:48 +0000 (16:54 +0000)]
Fix linking bug in xboard

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

21 years agoAdd support for the sig(set|long)jmp intrinsics
Chris Lattner [Mon, 18 Aug 2003 16:06:09 +0000 (16:06 +0000)]
Add support for the sig(set|long)jmp intrinsics

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

21 years agoNew testcase, distilled from ed-0.2
Chris Lattner [Mon, 18 Aug 2003 15:45:55 +0000 (15:45 +0000)]
New testcase, distilled from ed-0.2

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

21 years agoAdd intrinsics for the llvm.sig(set|long)jmp functions
Chris Lattner [Mon, 18 Aug 2003 15:41:24 +0000 (15:41 +0000)]
Add intrinsics for the llvm.sig(set|long)jmp functions

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

21 years agoWrap line at 80 columns
Chris Lattner [Mon, 18 Aug 2003 15:11:13 +0000 (15:11 +0000)]
Wrap line at 80 columns
Fix bogus failures

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

21 years agoSpell `necessary' correctly.
Misha Brukman [Mon, 18 Aug 2003 14:43:39 +0000 (14:43 +0000)]
Spell `necessary' correctly.

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

21 years agoFix minor bugs in the tester
Chris Lattner [Mon, 18 Aug 2003 14:07:03 +0000 (14:07 +0000)]
Fix minor bugs in the tester

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

21 years ago* Split the programs table into MultiSource and SingleSource components
Chris Lattner [Mon, 18 Aug 2003 06:05:21 +0000 (06:05 +0000)]
* Split the programs table into MultiSource and SingleSource components
* Instead of printing the time to configure as the build time, print the
  time to configure AND the build time, explicitly

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

21 years agoThe CBE output is compiled at -O2
Chris Lattner [Mon, 18 Aug 2003 04:39:41 +0000 (04:39 +0000)]
The CBE output is compiled at -O2

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

21 years agoAdd docs for new column, native tests now run with -O2
Chris Lattner [Mon, 18 Aug 2003 04:32:34 +0000 (04:32 +0000)]
Add docs for new column, native tests now run with -O2

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

21 years agoNew testcase distilled from GNU Go
Chris Lattner [Mon, 18 Aug 2003 02:57:31 +0000 (02:57 +0000)]
New testcase distilled from GNU Go

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

21 years agoGive correct command line for making a shared object
Chris Lattner [Sun, 17 Aug 2003 23:38:53 +0000 (23:38 +0000)]
Give correct command line for making a shared object

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

21 years agoFix ABI issue: Longs really do need to be only 4 byte aligned on X86.
Chris Lattner [Sun, 17 Aug 2003 23:20:40 +0000 (23:20 +0000)]
Fix ABI issue: Longs really do need to be only 4 byte aligned on X86.

This bug caused miscompilation of programs using 'struct stat', but only if
compiled with support for 64-bit filesystems.  This could in theory effect
other things, but only if the LLVM code shared data structures with native code.

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

21 years agoMake sure that "newmain" gets names for its arguments
Chris Lattner [Sun, 17 Aug 2003 22:14:20 +0000 (22:14 +0000)]
Make sure that "newmain" gets names for its arguments

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

21 years agoFix message
Chris Lattner [Sun, 17 Aug 2003 22:08:25 +0000 (22:08 +0000)]
Fix message

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

21 years agoFix the bug that broke the nightly tester in McCat/18-imp last night. :(
Chris Lattner [Sun, 17 Aug 2003 21:47:33 +0000 (21:47 +0000)]
Fix the bug that broke the nightly tester in McCat/18-imp last night.  :(

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

21 years agoMake the check for a failed test run more robust!!
Chris Lattner [Sun, 17 Aug 2003 20:52:05 +0000 (20:52 +0000)]
Make the check for a failed test run more robust!!

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

21 years agoImplement folding of switch instructions.
Chris Lattner [Sun, 17 Aug 2003 20:21:14 +0000 (20:21 +0000)]
Implement folding of switch instructions.
Implements SimplifyCFG/2003-08-17-FoldSwitch.ll

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

21 years agoNew testcase to ensure that switch folding happens correctly
Chris Lattner [Sun, 17 Aug 2003 20:19:31 +0000 (20:19 +0000)]
New testcase to ensure that switch folding happens correctly

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

21 years agoFix bug: SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
Chris Lattner [Sun, 17 Aug 2003 19:41:53 +0000 (19:41 +0000)]
Fix bug: SimplifyCFG/2003-08-17-BranchFoldOrdering.ll

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

21 years agoNew testcase
Chris Lattner [Sun, 17 Aug 2003 19:37:57 +0000 (19:37 +0000)]
New testcase

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

21 years agoThe fixme is irrelevant: if that happens, the LLVM bytecode is malformed.
Chris Lattner [Sun, 17 Aug 2003 19:34:55 +0000 (19:34 +0000)]
The fixme is irrelevant: if that happens, the LLVM bytecode is malformed.
This fixes testcase: SimplifyCFG/2003-08-17-BranchFold.ll

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

21 years agoNew testcase
Chris Lattner [Sun, 17 Aug 2003 19:29:34 +0000 (19:29 +0000)]
New testcase

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

21 years agoThis really isn't the gcc library!
Chris Lattner [Sun, 17 Aug 2003 18:37:45 +0000 (18:37 +0000)]
This really isn't the gcc library!

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

21 years agoFix bug: Jello/2003-08-15-AllocaAssertion.ll
Chris Lattner [Sun, 17 Aug 2003 18:01:15 +0000 (18:01 +0000)]
Fix bug: Jello/2003-08-15-AllocaAssertion.ll

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

21 years agoFix bug: LoopPreheaders/2003-08-15-PreheadersFail.ll
Chris Lattner [Sat, 16 Aug 2003 20:57:16 +0000 (20:57 +0000)]
Fix bug: LoopPreheaders/2003-08-15-PreheadersFail.ll

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

21 years agoNo need to print in the testcase
Chris Lattner [Sat, 16 Aug 2003 20:56:35 +0000 (20:56 +0000)]
No need to print in the testcase

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

21 years agoRename -emitmaps to -enable-maps
Brian Gaeke [Sat, 16 Aug 2003 00:23:16 +0000 (00:23 +0000)]
Rename -emitmaps to -enable-maps

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

21 years ago`execve_test' is not part of LLEE.
Misha Brukman [Fri, 15 Aug 2003 23:31:54 +0000 (23:31 +0000)]
`execve_test' is not part of LLEE.

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

21 years agoA lot of changes were suggested by Chris.
Misha Brukman [Fri, 15 Aug 2003 23:31:16 +0000 (23:31 +0000)]
A lot of changes were suggested by Chris.

ExecveHandler.c:
* Use "" instead of <> for LLVM include files
* Use raw I/O, we don't need buffering
* Set errno = 0 before using open()
* strlen() doesn't count NULL terminator in its size
* Use memcmp() instead of strcmp()
* Return result of the real execve(), not 0
* Search for path to bytecode file if not absolute/relative path

SysUtils.c:
* Convert all comments to C-style
* Stop using `bool', use `unsigned' instead

SysUtils.h:
* Stop using `bool', use `unsigned' instead
* Updated comment to FindExecutable()

README.txt:
* Describe the goal of LLEE and an application

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

21 years agonew testcase narrowed down from xboard
Chris Lattner [Fri, 15 Aug 2003 23:15:37 +0000 (23:15 +0000)]
new testcase narrowed down from xboard

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

21 years agoNew testcase identified by misha, distilled from the 'ls' program
Chris Lattner [Fri, 15 Aug 2003 22:36:55 +0000 (22:36 +0000)]
New testcase identified by misha, distilled from the 'ls' program

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

21 years agoFix typo in comment
Brian Gaeke [Fri, 15 Aug 2003 21:19:25 +0000 (21:19 +0000)]
Fix typo in comment

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

21 years agolib/Support/CommandLine.cpp:
Brian Gaeke [Fri, 15 Aug 2003 21:05:57 +0000 (21:05 +0000)]
lib/Support/CommandLine.cpp:
Many changes suggested by Chris. It's okay, I'll recover from the emotional
damage...maybe someday. :-)

Collapse ParseCStringVector into ParseStringVector.  Comment it.
Make it take a const input.
Use std::string::npos instead of -1 (what a mouthful!)
Make ParseEnvironmentOptions take const inputs.
Check its args at the very beginning.
Strdup all the contents of newArgv and free them all at the end.

include/Support/CommandLine.h:
Constify progName and envVar arguments to ParseEnvironmentOptions().

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

21 years agohash_map and hash_set:
Misha Brukman [Fri, 15 Aug 2003 20:01:10 +0000 (20:01 +0000)]
hash_map and hash_set:
* Define HASH_NAMESPACE to `std' in the case of pre-3.0 GCC compilers
* Add comments to clarify the intent of all the #ifdef madness
* Add VIM directive to highlight files as C++

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

21 years agoRemove extraneous ;'s, no functional changes
Chris Lattner [Fri, 15 Aug 2003 20:00:47 +0000 (20:00 +0000)]
Remove extraneous ;'s, no functional changes

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

21 years ago* Match the column names in the report
Misha Brukman [Fri, 15 Aug 2003 19:31:04 +0000 (19:31 +0000)]
* Match the column names in the report
* Describe and clarify meanings of columns
* Fix up HTML: close <a> and <li> tags

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

21 years agoNow that the JIT memory manager allocates as many bytes as necessary rather than
Misha Brukman [Fri, 15 Aug 2003 18:03:06 +0000 (18:03 +0000)]
Now that the JIT memory manager allocates as many bytes as necessary rather than
rounding up to a page, we need to request (num instrs * 4) bytes. However, I
think that 64 bytes is overkill for the stub function.

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

21 years agoReordered includes to be consistent with the LLVM style.
Misha Brukman [Fri, 15 Aug 2003 17:52:02 +0000 (17:52 +0000)]
Reordered includes to be consistent with the LLVM style.

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

21 years agoDocument new column, remove X86 specific stuff
Chris Lattner [Fri, 15 Aug 2003 16:29:06 +0000 (16:29 +0000)]
Document new column, remove X86 specific stuff

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

21 years agoFix register and parameter numbers in saving double FP registers.
Misha Brukman [Fri, 15 Aug 2003 16:15:28 +0000 (16:15 +0000)]
Fix register and parameter numbers in saving double FP registers.

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

21 years agoAdd llvm tools to path of LLVMGCC
Chris Lattner [Fri, 15 Aug 2003 15:20:52 +0000 (15:20 +0000)]
Add llvm tools to path of LLVMGCC

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

21 years agoRemove extraneous #include
Chris Lattner [Fri, 15 Aug 2003 05:21:30 +0000 (05:21 +0000)]
Remove extraneous #include

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

21 years agoRemove uses of the NonCopyable class, to make the doxygen output look better
Chris Lattner [Fri, 15 Aug 2003 05:20:06 +0000 (05:20 +0000)]
Remove uses of the NonCopyable class, to make the doxygen output look better

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

21 years agoRevert my last (accidental) checkin, but keep the typeo fix
Chris Lattner [Fri, 15 Aug 2003 04:56:47 +0000 (04:56 +0000)]
Revert my last (accidental) checkin, but keep the typeo fix

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

21 years agorename selection library to selectiondag
Chris Lattner [Fri, 15 Aug 2003 04:56:09 +0000 (04:56 +0000)]
rename selection library to selectiondag

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

21 years agorename selection directory and library to SelectionDAG
Chris Lattner [Fri, 15 Aug 2003 04:55:22 +0000 (04:55 +0000)]
rename selection directory and library to SelectionDAG

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

21 years agobuild the new runtime directory
Chris Lattner [Fri, 15 Aug 2003 04:53:45 +0000 (04:53 +0000)]
build the new runtime directory

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

21 years agoAdd a bunch of new node types, etc
Chris Lattner [Fri, 15 Aug 2003 04:53:16 +0000 (04:53 +0000)]
Add a bunch of new node types, etc

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

21 years agoAdd support for basic blocks, unary/binary unspecs, conditional branches, ...
Chris Lattner [Fri, 15 Aug 2003 04:52:51 +0000 (04:52 +0000)]
Add support for basic blocks, unary/binary unspecs, conditional branches, ...

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

21 years agoAdjust to new API, add expandCall stub
Chris Lattner [Fri, 15 Aug 2003 04:51:59 +0000 (04:51 +0000)]
Adjust to new API, add expandCall stub

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

21 years agoAdd support for unconditional branches and for emitting JE instructions
Chris Lattner [Fri, 15 Aug 2003 04:50:49 +0000 (04:50 +0000)]
Add support for unconditional branches and for emitting JE instructions

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

21 years agoIgnore dummy register classes
Chris Lattner [Fri, 15 Aug 2003 04:36:19 +0000 (04:36 +0000)]
Ignore dummy register classes

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

21 years agoAdd a bunch of new node types, including a new Void dummy register class
Chris Lattner [Fri, 15 Aug 2003 04:35:14 +0000 (04:35 +0000)]
Add a bunch of new node types, including a new Void dummy register class

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