Commit Graph

210 Commits

Author SHA1 Message Date
Reid Spencer
3da59db637 For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 01:05:10 +00:00
Reid Spencer
3822ff5c71 For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31542 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 06:47:33 +00:00
Reid Spencer
12565159bf Don't check variables before they are set.
Be careful about blanks when checking LLVMGCC variable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31455 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-05 03:58:44 +00:00
Reid Spencer
19d220419a Make sample project -pedantic clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31391 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-03 00:09:53 +00:00
Reid Spencer
939c6872c5 Make Stacker Runtime -pedantic clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31390 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-03 00:08:08 +00:00
Reid Spencer
3ed469ccd7 For PR786:
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-02 20:25:50 +00:00
Reid Spencer
0a783f783c For PR950:
Replace the REM instruction with UREM, SREM and FREM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31369 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-02 01:53:59 +00:00
Reid Spencer
1628cec4d7 For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31195 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-26 06:15:43 +00:00
Reid Spencer
b83eb6447b For PR950:
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-20 07:07:24 +00:00
Reid Spencer
76907e3daf Don't build the runtime library if LLVMGCC is not configured.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30691 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-02 19:10:56 +00:00
Chris Lattner
0d59c03432 Stacker doesn't build universal right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30675 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-30 00:24:20 +00:00
Chris Lattner
463b79f5d1 Fix a race condition in the makefile that broke grawp's tester last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29873 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-25 17:15:23 +00:00
Reid Spencer
40bb451c94 For PR797:
Update to reflect ParseException becoming ParseError (from Parser.h)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29766 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-18 09:07:54 +00:00
Reid Spencer
b08b562ecf Drop the -s2048 option, it is specified incorrectly and the correct
specification can't be handled by llvmc (= confuses it)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29764 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-18 09:00:22 +00:00
Reid Spencer
42fe455d37 For PR780:
1. Change the usage of LOADABLE_MODULE so that it implies all the things
   necessary to make a loadable module. This reduces the user's burdern to
   get a loadable module correctly built.
2. Document the usage of LOADABLE_MODULE in the MakefileGuide
3. Adjust the makefile for lib/Transforms/Hello to use the new specification
   for building loadable modules
4. Adjust the sample project to not attempt to build a shared library for
   its little library. This was just wasteful and not instructive at all.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29551 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-07 23:12:15 +00:00
Chris Lattner
3251973d4a Stacker uses EH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29032 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 00:20:39 +00:00
Chris Lattner
831b121039 Don't pass target name into TargetData anymore, it is never used or needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28831 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-16 18:23:49 +00:00
Chris Lattner
1969e3ce98 Fix build on systems with broken bison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28658 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-02 18:21:11 +00:00
Reid Spencer
72f42bbc9b For PR786:
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 01:55:21 +00:00
Reid Spencer
18c8b49e7d Use archive libraries instead of object files for VMCore, BCReader,
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 01:30:27 +00:00
Chris Lattner
433698bbbc Avoid defining dead result
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-12 17:29:40 +00:00
Reid Spencer
30ea4787ea Have the AutoRegen.sh script prompt the user for the LLVM src and obj
directories if it can't find them. Then, replace those values into the
configure.ac script and pass them to the LLVM_CONFIG_PROJECT so that the
values become the default for llvm_src and llvm_obj variables. In this way
the user is required to input this exactly once, and the scripts take it
from there.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27798 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-18 06:27:47 +00:00
Reid Spencer
9b6e67e1ec Distribute the Stacker samples directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27648 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 06:16:37 +00:00
Reid Spencer
898f44b06a Distribute the lex/yacc files from the cvs version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27628 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 20:55:23 +00:00
Reid Spencer
5a4b9e7b5f Ignored generated files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27016 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:53:13 +00:00
Reid Spencer
31c4d82800 Ignore generated files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27015 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:51:43 +00:00
Chris Lattner
fb4ab00d09 Convert over to the new way of handling lex/bison checked into cvs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26209 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-15 07:26:07 +00:00
Robert Bocchino
6b2b0136a9 Fixed Makefile so it does, indeed, build a dynamic library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25135 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-06 22:51:19 +00:00
Chris Lattner
36a6338133 unbreak the build again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24041 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-27 16:30:44 +00:00
Chris Lattner
8962b84556 Make sure to build things in the right order, build with the .o file, not the
.a file to unbreak the build after john's change


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24024 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-27 00:53:16 +00:00
Chris Lattner
f582dde143 use archives when possible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23932 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 01:52:15 +00:00
Reid Spencer
68a24bdba4 Implement PR614:
These changes modify the makefiles so that the output of flex and bison are
placed in the SRC directory, not the OBJ directory. It is intended that they
be checked in as any other LLVM source so that platforms without convenient
access to flex/bison can be compiled. From now on, if you change a .y or
.l file you *must* also commit the generated .cpp and .h files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23115 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-27 18:50:39 +00:00
Andrew Lenharth
3027321a76 oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22334 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-05 16:36:18 +00:00
Andrew Lenharth
c2640d0d9e updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22333 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-05 15:18:33 +00:00
Reid Spencer
4411eebff2 Make the value to -s not be interpreted as a file name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22134 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-19 01:05:02 +00:00
Reid Spencer
9daa061293 Add an llvmc specification file for the "st" suffix. This allows Stacker
programs to benefit from the optimization capabilities of the llvmc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22133 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-19 00:54:10 +00:00
Reid Spencer
37f13809ec The previous hack didn't work because tools-only isn't defined and isn't
a target at this level of build. There shouldn't be a problem with building
the runtime library without llvm-gcc because the Makefile.rules checks
for an empty LLVMGCC variable before building bytecode modules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21942 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 17:42:54 +00:00
Reid Spencer
08f5535aaa Don't build runtime if tools-only :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21938 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 16:17:58 +00:00
Reid Spencer
535c619e2b WHILE does not "pop" a value, it "examines" to top of stack. Make this
clear in the applicable comment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21682 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-04 15:33:48 +00:00
Jeff Cohen
b02fbfc485 Eliminate tabs and trailing spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21479 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-23 21:26:11 +00:00
Misha Brukman
fd93908ae8 Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 23:48:37 +00:00
Alkis Evlogimenos
ab7ada3ed6 Rename createPromoteMemoryToRegister() to
createPromoteMemoryToRegisterPass() to be consistent with other pass
creation functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20885 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-28 02:01:12 +00:00
Reid Spencer
421ec0554d Update to reflect various changes in the autoconf directory. THe
recommended configuration of projects is now much simplified and depends
on LLVM file presence rather than local project file presence.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20312 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 18:53:47 +00:00
Reid Spencer
bcb178fbe6 Remove auxilliary files that are now picked up from llvm/autoconf. This
avoids version conflict problems with ltmain.sh (libtool), mkinstalldirs
and install-sh. This prevents projects from becoming stale when the LLVM
build system is upgraded or modified.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20311 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 18:52:22 +00:00
Reid Spencer
1a87ddc03b * Move all the "standard" configuration stuff to the start of the file
* Make the auxilliary directory be llvm/autoconf not the project's
* Use the LLVM_CONFIG_PROJECT macro to get the --with-llvm{src,obj} args


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20310 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 18:50:53 +00:00
Reid Spencer
b2da6507b0 Don't put generated files into CVS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20309 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 18:49:37 +00:00
Reid Spencer
f20856db35 * Fix an output message
* Make aclocal look in LLVM's autoconf/m4 directory for macros
* Don't force generation of missing files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20307 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 18:42:34 +00:00
Reid Spencer
f1e6e84c66 Update makefile to use PROJ_* makefile variables intead of BUILD_* as
required by changes to the Makefile.rules. Patch contributed by Vladimir
Merzliakov.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20175 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14 16:04:28 +00:00
Reid Spencer
6a8b5183be Update per new Makefile requirements for projects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19594 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-16 02:21:42 +00:00
Reid Spencer
bdf6a39d1c Rename BUILD_* to PROJ_*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19592 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-16 02:21:29 +00:00
Reid Spencer
33a12184ba Ignore autoconf/aclocal generated stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19292 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-05 17:26:00 +00:00
Reid Spencer
38fd88a820 Cleanup configuration for Cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19284 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-05 06:41:10 +00:00
Reid Spencer
90b3b7162a Ignore some files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19221 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 18:14:18 +00:00
Reid Spencer
9964cd8e9a Update to autoconf 2.59 standards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19207 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 09:26:55 +00:00
Reid Spencer
bb87426ad6 Clean up some autoconf cruft
* Make the source detection use a file unique to Stacker
* Configure Makefile.common.in with AC_CONFIG_FILES not AC_CONFIG_MAKEFILE
* Use new autoconf format for invoking AC_OUTPUT


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19165 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-27 08:51:55 +00:00
Reid Spencer
5978485324 Correct build script for stkr_runtime module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18526 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:18:28 +00:00
Reid Spencer
9f60a49415 Build a module instead of a library so main() is not missed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18525 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:18:16 +00:00
Reid Spencer
bf714df962 Add LLVMbzip2 library, now required.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18255 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 20:22:06 +00:00
Reid Spencer
150e8422ef Use llvmc to compile test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18053 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 21:03:34 +00:00
Reid Spencer
227b6d00dd Fix usage of changed function prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 22:30:54 +00:00
Reid Spencer
a98e7b5e75 Change macro names per naming standard in Makefile.rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17361 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:26:22 +00:00
Reid Spencer
3abd4974ba Correct macro names per naming standard in Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17360 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:25:27 +00:00
Reid Spencer
bdfefc9c26 Disable the build in the samples directory so that llvmc dependencies don't
mess up the build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17342 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-29 18:43:49 +00:00
Reid Spencer
6e039e5616 Make sure the LLVM_CONFIG_DIR environment variable is set so we don't get
error messages from the compiler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17335 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-29 06:42:38 +00:00
Reid Spencer
64b5fb2627 Make sure the sources get distributed (use EXTRA_DIST)
Add the goof.st sample.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17312 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 06:42:34 +00:00
Reid Spencer
e198cd18bd Use llvmc to compile the Stacker programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17300 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 04:08:05 +00:00
Reid Spencer
5456091e90 Add the samples directory to the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17299 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 04:07:54 +00:00
Reid Spencer
7c6201fd07 Get rid of drivel.
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17290 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 01:25:28 +00:00
Reid Spencer
6cb21d443e Change Library Names Not To Conflict With Others When Installed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-27 23:18:45 +00:00
Reid Spencer
e817154d4b Make sure the samples and test directories get distributed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17248 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 07:04:18 +00:00
Reid Spencer
c4ea7d87c9 Make sure the include files get distributed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17247 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 07:03:39 +00:00
Reid Spencer
1118441d7a Fix nightly build by avoiding shared library construction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17187 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23 15:30:30 +00:00
Reid Spencer
8c2c3152d6 Adjust to changes in Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17167 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 21:02:08 +00:00
Misha Brukman
e1616bf0ca Remove exhuberant-style comments which remained from copying file from `sample'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16909 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 00:56:41 +00:00
Misha Brukman
2b8f30c459 Fix file header comment; remove sample project (extra-verbose) comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16908 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 00:55:47 +00:00
Misha Brukman
17e9acd059 Fix file header comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16907 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 00:54:59 +00:00
Chris Lattner
8ecaccebf1 This pass is not needed, as there is only ever one global: the stack
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16800 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 04:10:36 +00:00
Reid Spencer
d27d1b9975 Stacker compiler library doesn't need to be shared and it can cause
problems on some platforms (like Solaris).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16365 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-15 06:22:54 +00:00
Reid Spencer
011f5ca2ca Attempt to solve the libtool problem on Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16364 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-15 06:19:53 +00:00
Misha Brukman
1cf70ff8d5 The Sparc linking .so problem extends to the sample project as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16342 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-14 18:21:03 +00:00
Misha Brukman
b9210123a9 Sparc cannot link shared objects (libtool issue) which affects Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16320 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 22:42:54 +00:00
Reid Spencer
1694eec4af Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16276 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:15:09 +00:00
Reid Spencer
e07d9aa1d1 Added the configuration of the test/Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16185 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-05 16:42:30 +00:00
Reid Spencer
d1011c2ca7 Make sure llvm-test doesn't build automatically so the nightly test can
finish its build phase without building and running all the tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16172 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-04 23:07:57 +00:00
Reid Spencer
39dcf0e016 Convert makefile to use standard LLVM macros for tool names
Utilize new stkrc -O4 option for optimization during translation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16168 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-04 20:13:54 +00:00
Reid Spencer
820dab7a62 Make Stacker into a complete project with its own configuration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16167 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-04 19:48:50 +00:00
Reid Spencer
c37a506d44 Make the StackerCompiler and optimizing translator by running specific
optimizations after construction of the Module. The OptLevel argument
to the compile function controls the level of optimization.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16166 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-04 19:07:32 +00:00
Reid Spencer
2c711577ab Make the Stacker compiler handle -O1 .. -O5 options so it is compliant with
the compiler driver interface as an optimizing translator. Also clean up
error message handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16165 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-04 19:05:53 +00:00
Reid Spencer
9c3c65806f Uh, changing in build dir and committing in src dir doesn't lead to correct
commits. Fix it so it actually works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16158 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-03 22:28:24 +00:00
Reid Spencer
1d009bbbbd Correct the specification of the DIRS variable to not include the source
directory prefix, just the name of the subdirectory. This prevents the
makefile from trying to find makefiles (like Makefile.common) in the wrong
place.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16157 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-03 22:25:40 +00:00
Brian Gaeke
065b648732 Unbreak build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16139 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-02 03:24:08 +00:00
Reid Spencer
551ccae044 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-01 22:55:40 +00:00
Nate Begeman
2a42e80eda Must link against new LLVMsystem library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16104 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-29 22:01:44 +00:00
Nate Begeman
2f795cf12e RemoveFileOnSignal is now in sys:: namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16103 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-29 22:01:17 +00:00
Reid Spencer
bef77ec085 Add dependent library support for Stacker. It now inserts "stkr_runtime" as
a dependent library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16040 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-24 22:52:01 +00:00
Reid Spencer
157b956e42 Moved the "SmallExamples" out of the /projects directory and into a new
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16002 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-23 19:28:39 +00:00
Reid Spencer
7bf5dd3990 Change the makefile back so it descends any directory with a Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15999 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-23 17:47:16 +00:00
Reid Spencer
4e5b9e136f Avoid building samples. Require explicit list of directory names to build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15937 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 01:49:59 +00:00
Chris Lattner
1c54afa431 Make people explicitly add dirs to this. Remove ModuleMaker as it currently
does not build (it must be configured before it will work)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15936 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 01:11:16 +00:00
Chris Lattner
cd8cf63b94 Only build project dirs with a Makefile in them. This should fix the
problem where Depend or Debug directories prevent CVS from nuking an obsolete
project dir


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15935 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 01:07:54 +00:00