Commit Graph

7497 Commits

Author SHA1 Message Date
Chris Lattner bc9c1bc3c7 Ignore more
llvm-svn: 8081
2003-08-23 20:35:08 +00:00
Chris Lattner 31de50ab44 Implement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc
llvm-svn: 8080
2003-08-23 20:31:10 +00:00
Chris Lattner b7408ec7ed Test functions as well as globals
llvm-svn: 8079
2003-08-23 20:30:29 +00:00
Chris Lattner bb4dd7ed34 Fix bug: TailDup/2003-08-23-InvalidatedPointers.ll
llvm-svn: 8078
2003-08-23 20:08:30 +00:00
Chris Lattner a476e2d30b Of course, the copy ctor really should copy the operand as well
llvm-svn: 8077
2003-08-23 20:06:38 +00:00
Chris Lattner 6fc0ee9901 Fix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll
llvm-svn: 8076
2003-08-23 20:03:05 +00:00
Chris Lattner 6b4b1e67b0 new testcase: we warn if we are merging together two functions whose argument
types to not match, but we should not warn unless their _primitive_ types mismatch

llvm-svn: 8075
2003-08-23 19:59:55 +00:00
Chris Lattner 18fca71f8e Add more methods to be more value-like
llvm-svn: 8074
2003-08-23 19:51:10 +00:00
Chris Lattner ca009fe280 Initial checkin of ValueHolder helper class
llvm-svn: 8073
2003-08-23 19:43:18 +00:00
Chris Lattner 32db9de2ff Initial checkin of ValueHolder helper
llvm-svn: 8072
2003-08-23 19:43:16 +00:00
Chris Lattner 39a4430722 New testcase
llvm-svn: 8071
2003-08-23 19:37:39 +00:00
Chris Lattner c38d7fa4e1 Fix typeo
llvm-svn: 8069
2003-08-23 15:56:38 +00:00
Chris Lattner 251f1c948d New testcase, which is basically the problem with 176.gcc
llvm-svn: 8068
2003-08-23 15:53:38 +00:00
Chris Lattner 716b1fea7f Add missing #include
llvm-svn: 8063
2003-08-22 23:08:55 +00:00
Chris Lattner 954a6095d7 Fix typeo
llvm-svn: 8059
2003-08-22 20:16:48 +00:00
Chris Lattner b4d9921728 add preliminary support for -export-dynamic
llvm-svn: 8058
2003-08-22 19:18:45 +00:00
Chris Lattner 1a8a45977a The process of linking types can cause their addresses to become invalid. For this reason, we must use TypeHandles!
llvm-svn: 8057
2003-08-22 19:12:55 +00:00
Chris Lattner d1123fde11 Kill warning
llvm-svn: 8056
2003-08-22 18:57:43 +00:00
Chris Lattner 23edbf25f4 Changes to work better with GCC3.4/LLVM G++
llvm-svn: 8054
2003-08-22 14:26:59 +00:00
Chris Lattner e9d7d70ae7 Remove last remenants of cleandeps
Allow disabling generation of .d files for a whole directory

llvm-svn: 8053
2003-08-22 14:10:16 +00:00
Chris Lattner 4f59be2126 Disable .d file generation for LLVM tests
llvm-svn: 8052
2003-08-22 14:09:46 +00:00
Chris Lattner f872d41f55 Implement Linker/2003-08-20-OpaqueTypeResolve.ll
Hopefully this will fix the 176.gcc spec test as well.

llvm-svn: 8051
2003-08-22 06:07:12 +00:00
Chris Lattner 9eb287583b Accept double quoted strings everwhere we accept a %ABC variable name.
This introduces one more innoculous shift-reduce conflict, but will REALLY
help the type names generated by the C++ frontend, which wants to use all
kinds of crazy stuff.

llvm-svn: 8050
2003-08-22 05:42:10 +00:00
Chris Lattner 1c3430491e If an "LLVM name" has wierd characters in it, print it out in double quotes instead of prefixing it with %
llvm-svn: 8049
2003-08-22 05:40:38 +00:00
Chris Lattner 88052abce8 New testcase for non-simple variable and type names
llvm-svn: 8048
2003-08-22 05:40:04 +00:00
Chris Lattner 7016ddc012 Ugh, really fix it now... :(
llvm-svn: 8047
2003-08-22 05:22:13 +00:00
Chris Lattner f2df8f3c9d Fix computation of LLVM_OBJ_ROOT for non-projects :(
llvm-svn: 8046
2003-08-22 05:18:49 +00:00
Chris Lattner e9c210242d Remove name, add body. Causes llvmg++ segfault!
llvm-svn: 8045
2003-08-22 04:36:12 +00:00
Chris Lattner 1e5031d81b add comment
llvm-svn: 8044
2003-08-22 04:31:24 +00:00
Chris Lattner d3cd988d5c new testcase
llvm-svn: 8043
2003-08-22 04:13:13 +00:00
Misha Brukman 188bf100aa Squash the warning that `Result' may not be initialized on all code paths.
llvm-svn: 8042
2003-08-22 03:35:24 +00:00
Chris Lattner cc4685a15e Initial checkin
llvm-svn: 8039
2003-08-21 22:33:59 +00:00
Chris Lattner 3397792731 Initial checkin of ModuleMaker project
llvm-svn: 8036
2003-08-21 22:29:52 +00:00
Chris Lattner 558085b76c Include the top-level Makefile.config from the LLVM tree for projects
llvm-svn: 8035
2003-08-21 22:28:46 +00:00
Chris Lattner b42c15396c Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs target, don't let make print out all of the echo commands before the echos get echo'd
llvm-svn: 8034
2003-08-21 22:23:49 +00:00
Chris Lattner ce4e6ee671 Remove commented out declaration
llvm-svn: 8032
2003-08-21 22:22:24 +00:00
Misha Brukman 1430522e2d The word `dependence' has no `a'.
llvm-svn: 8031
2003-08-21 22:14:57 +00:00
Misha Brukman be372b91e1 The word `dependent' has no `a'.
llvm-svn: 8030
2003-08-21 22:14:26 +00:00
Chris Lattner a73b95821a Fix spello
llvm-svn: 8029
2003-08-21 22:05:57 +00:00
Misha Brukman a1f0c145e9 The word `dependence' and its derivatives have no `a'.
llvm-svn: 8028
2003-08-21 22:02:18 +00:00
Chris Lattner 132c88da07 Make the tags rule tolerate lack of one of the standard directories
llvm-svn: 8027
2003-08-21 21:53:38 +00:00
Chris Lattner f02da5ba9d Only use :: rules for #included files
llvm-svn: 8026
2003-08-21 21:47:12 +00:00
Chris Lattner 746f804dda Simplify test
llvm-svn: 8025
2003-08-21 21:33:19 +00:00
Chris Lattner abca19d2b3 Minor cleanups: wrap at 80 lines. Convert file comment to doxygen format and
llvm style

llvm-svn: 8024
2003-08-21 21:32:12 +00:00
John Criswell 42c6d5940b Regression test that verifies that the JIT passes the environment to the
main() function.

llvm-svn: 8023
2003-08-21 21:18:21 +00:00
John Criswell 71c3e6236f The JIT now passes the environment pointer to the main() function when it
starts a program.  This allows the GNU env program to compile and JIT under
LLVM.

llvm-svn: 8022
2003-08-21 21:12:30 +00:00
Chris Lattner e08478eb59 Remove unused file
llvm-svn: 8021
2003-08-21 20:54:51 +00:00
Chris Lattner a896edb1bb * Remove cleandeps target
* Implement much nicer .d files, as suggested by Casey Carter

llvm-svn: 8020
2003-08-21 20:39:08 +00:00
Chris Lattner 43450cb075 Change all #include'd files to be :: rules instead of : rules
llvm-svn: 8019
2003-08-21 20:37:17 +00:00
Brian Gaeke 482100941f Reoptimizer has moved to reopt cvs module.
llvm-svn: 8018
2003-08-21 20:32:04 +00:00
Misha Brukman 71a1ba6a68 Make build errors stand out by coloring them red.
llvm-svn: 8017
2003-08-21 20:22:52 +00:00
Chris Lattner 941b06bf3c Implement Assembler/2003-08-21-ConstantExprCast-Fold.llx
llvm-svn: 8015
2003-08-21 19:45:55 +00:00
Chris Lattner 3b156bb2a5 New testcase
llvm-svn: 8014
2003-08-21 19:37:46 +00:00
Misha Brukman 7bf78b5b27 Test case distilled from bash.
llvm-svn: 8013
2003-08-21 18:59:56 +00:00
Chris Lattner fac8f6188d remove invalid test
llvm-svn: 8012
2003-08-21 18:48:13 +00:00
Misha Brukman 8635998389 Test case distilled from `bash'.
llvm-svn: 8011
2003-08-21 18:45:48 +00:00
Chris Lattner f08cb1accf Yet another testcase distilled from emacs by Misha!
llvm-svn: 8010
2003-08-21 18:25:37 +00:00
Chris Lattner ee333b1194 New testcase, distilled from emacs by Misha
llvm-svn: 8009
2003-08-21 17:56:32 +00:00
Chris Lattner 9bc7626fa8 Fix warning on sparc build
llvm-svn: 8006
2003-08-21 15:59:16 +00:00
Chris Lattner ed51e6858c Start testing SPEC as well as singlesource/multisource
llvm-svn: 8005
2003-08-21 15:55:26 +00:00
Chris Lattner 38dbc3c35b fix dependency
llvm-svn: 8004
2003-08-21 15:47:37 +00:00
John Criswell 45cd0a8acd Adding a copyright notice to each file is unnecessary.
llvm-svn: 8003
2003-08-21 15:25:55 +00:00
John Criswell 69e64badf8 Further updates:
o Autoconf has been moved to its own directory.
	o The bugs are fixed but still need regressions.
	o Sparc now has a nightly tester.
	o The test/Programs directory has been cleaned up.

llvm-svn: 8002
2003-08-21 15:25:20 +00:00
John Criswell 63abacc766 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.

llvm-svn: 8001
2003-08-21 15:09:29 +00:00
John Criswell 5618aa6ad8 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.

llvm-svn: 8000
2003-08-21 15:06:06 +00:00
Chris Lattner 015d98e940 Unless we CANNOT merge the arguments, do so
llvm-svn: 7999
2003-08-20 23:50:38 +00:00
Chris Lattner 397b6677ba Point to the RIGHT GCC library directory
llvm-svn: 7998
2003-08-20 22:42:17 +00:00
Chris Lattner bc9b0b91f5 Point to the correct cc1/cc1plus binaries
llvm-svn: 7997
2003-08-20 22:11:45 +00:00
John Criswell 29dd381feb 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.

llvm-svn: 7996
2003-08-20 22:07:45 +00:00
Misha Brukman 67fc400da8 Added dummy version of the `util' library.
llvm-svn: 7995
2003-08-20 21:44:04 +00:00
Misha Brukman db3c78202d Added dummy library `libutempter' for non-privileged access to utmp/wtmp data.
llvm-svn: 7994
2003-08-20 21:42:01 +00:00
Misha Brukman 90869942e7 Make the bytecode file executable as well for LLEE purposes.
llvm-svn: 7992
2003-08-20 20:38:15 +00:00
Chris Lattner 820153f204 Simplify testcase even more
llvm-svn: 7991
2003-08-20 20:36:09 +00:00
Chris Lattner 963346a1d7 New makefile for new directory
llvm-svn: 7990
2003-08-20 20:24:16 +00:00
Chris Lattner 9ca74f1cfe new testcase
llvm-svn: 7989
2003-08-20 20:24:09 +00:00
Chris Lattner e1c787f2f5 new testcase
llvm-svn: 7988
2003-08-20 19:48:18 +00:00
Chris Lattner 70c5421547 new testcase
llvm-svn: 7987
2003-08-20 19:22:28 +00:00
Chris Lattner e62a6faef9 Whoa, GCC accepts this. Whack.
llvm-svn: 7986
2003-08-20 18:25:04 +00:00
Chris Lattner 986b244976 New testcase, distilled from bison
llvm-svn: 7985
2003-08-20 18:17:13 +00:00
Chris Lattner 941fba4a63 New testcase, distilled from 'screen' by Misha
llvm-svn: 7984
2003-08-20 16:13:10 +00:00
Chris Lattner ddab239262 Implement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llx
llvm-svn: 7983
2003-08-20 16:11:27 +00:00
Chris Lattner c0f058e4a9 New testcase for GEP folding
llvm-svn: 7982
2003-08-20 16:11:05 +00:00
Chris Lattner 42fee012b0 Catch testing errors
llvm-svn: 7981
2003-08-20 15:44:33 +00:00
Chris Lattner 717658476c Fix bug where we printed the month number instead of the day number *blush*
llvm-svn: 7980
2003-08-20 15:33:33 +00:00
John Criswell 816deb775d 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.

llvm-svn: 7979
2003-08-20 15:18:41 +00:00
Brian Gaeke f2ea9e0bdf Add ParseEnvironmentOptions documentation
llvm-svn: 7978
2003-08-19 23:11:43 +00:00
Brian Gaeke 8b89b2bcbb Add warning about how you have to put cl::init after cl::location, if both
appear for the same option.

llvm-svn: 7977
2003-08-19 22:56:22 +00:00
Chris Lattner e90e4c4ec0 Make testcase more interesting
llvm-svn: 7976
2003-08-19 21:57:23 +00:00
Chris Lattner 9a4dbf6da0 Make assertion message more helpful in a case that might happen...
llvm-svn: 7975
2003-08-19 21:57:00 +00:00
Chris Lattner 05c8f64b81 Fix bugs in tester
Add new -norunningtests option

llvm-svn: 7972
2003-08-19 18:35:03 +00:00
Misha Brukman 94a1813fed X86.td has been moved out of this directory; these are outdated targets.
llvm-svn: 7971
2003-08-19 16:11:38 +00:00
Misha Brukman dbfec2c56a Since we broke up SingleSource and MultiSource testing, the logs are now
separate as well.

llvm-svn: 7970
2003-08-19 15:54:16 +00:00
Chris Lattner d1fc00d4b0 Do not force a runtimelimit! We were actually reducing it.
Start running LARGE_PROBLEM_SIZE tests on Olden, keeping track of the results.

llvm-svn: 7969
2003-08-19 15:08:34 +00:00
Chris Lattner d729a47a29 Increase the size of the LOC chart
llvm-svn: 7968
2003-08-19 14:27:44 +00:00
Chris Lattner a34c477b05 Fix grammar, add comment
llvm-svn: 7967
2003-08-18 22:54:06 +00:00
Chris Lattner 07d26d47b7 Fix buggy testcase
llvm-svn: 7966
2003-08-18 22:34:14 +00:00
Chris Lattner a615c77cde no-strict-aliasing redux
llvm-svn: 7965
2003-08-18 22:32:48 +00:00
Chris Lattner c8e81ba355 The CBE generates code which violates the TBAA rules of C, thus we must disable
optimizations based on these rules.  :(

llvm-svn: 7964
2003-08-18 22:32:03 +00:00
Chris Lattner f8a77578a2 Do not even attempt to compute dominator information for unreachable blocks
llvm-svn: 7963
2003-08-18 22:11:16 +00:00
Chris Lattner dfada99650 Add new methods, update comments
llvm-svn: 7962
2003-08-18 22:10:57 +00:00