1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
Commit Graph

253 Commits

Author SHA1 Message Date
Dan Gohman
b54d296fd4 Remove the SystemZ backend.
llvm-svn: 142878
2011-10-24 23:48:32 +00:00
Daniel Dunbar
548842dbed Regenerate projects/sample/configure.
llvm-svn: 142457
2011-10-18 23:10:58 +00:00
Daniel Dunbar
d2a8c29880 projects/sample: Import adapted form of current LLVM autoconf/Makefile setup so that projects/sample is standalone and not tied to the LLVM build setup.
- This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary.

 - This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so).

llvm-svn: 142456
2011-10-18 23:10:47 +00:00
Chris Lattner
0304b82f80 Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!

llvm-svn: 129558
2011-04-15 05:18:47 +00:00
Peter Collingbourne
07b5bc4a9e Regen configure
llvm-svn: 121646
2010-12-12 21:42:01 +00:00
Peter Collingbourne
b20fea2b07 Fix paths; AutoRegen.sh changes its current working directory to be the
autoconf directory, but these paths need to be relative to the main
source directory.  Patch originally by Dan Gohman, r67655.

Also, cause configure.ac to find absolute paths to LLVM source and
object trees.   Together, fixes PR1220.

llvm-svn: 121645
2010-12-12 21:41:56 +00:00
Michael J. Spencer
4a63404543 I swear I did a make clean and make before committing all this...
llvm-svn: 120304
2010-11-29 18:47:54 +00:00
Daniel Dunbar
082043aa74 projects: Don't try to build libcxx if one happens to have it checked out into
llvm/projects.

llvm-svn: 113490
2010-09-09 15:49:32 +00:00
Eric Christopher
9098774a2e Remove bogus link.
llvm-svn: 108518
2010-07-16 06:33:36 +00:00
Jakob Stoklund Olesen
bcee53a2b8 Remove many calls to TII::isMoveInstr. Targets should be producing COPY anyway.
TII::isMoveInstr is going tobe completely removed.

llvm-svn: 108507
2010-07-16 04:45:42 +00:00
Wesley Peck
6b601b5704 Testing subversion commit access
llvm-svn: 96948
2010-02-23 15:11:17 +00:00
Oscar Fuentes
6c7bdae8bd CMake: Fixed syntax in conditional.
llvm-svn: 96221
2010-02-15 15:17:05 +00:00
Jakob Stoklund Olesen
e307c6e94b Oops.
llvm-svn: 95670
2010-02-09 17:24:21 +00:00
Jakob Stoklund Olesen
2a84a7ccbd clang test suite
llvm-svn: 95667
2010-02-09 17:20:03 +00:00
Eric Christopher
0f43b92584 Fix autoconf llvm srcdir location for generic projects.
Patch by Torvald Riegel!

llvm-svn: 94405
2010-01-25 04:10:28 +00:00
Daniel Dunbar
fa77ff20e6 CMake: Don't try to descend into projects/compiler-rt, it doesn't work.
llvm-svn: 94187
2010-01-22 18:14:27 +00:00
Daniel Dunbar
62bfea2420 Don't try to build compiler-rt if it happens to be checked out into projects/
llvm-svn: 93729
2010-01-18 17:52:28 +00:00
Chandler Carruth
766362c707 Move DataTypes.h to include/llvm/System, update all users. This breaks the last
direct inclusion edge from System to Support.

llvm-svn: 85086
2009-10-26 01:35:46 +00:00
Torok Edwin
9524ef5cfa install-sh chmods to 0755 by default, and this causes 'git diff' to show
that all the Makefiles changed mode.
Fix this by tellint install-sh to chmod
only to 0644, these are not executable files after all!

llvm-svn: 80371
2009-08-28 16:12:48 +00:00
Chris Lattner
07463b0a0a remove dead makefile flags.
llvm-svn: 74065
2009-06-24 05:29:56 +00:00
Dan Gohman
0f859353ea Revert r67655 and r67656, as they are breaking the build. I'm
not going to persue this further at this time.

llvm-svn: 67666
2009-03-25 00:52:11 +00:00
Dan Gohman
ec41ca9857 LLVM's master Makefile.common is in LLVM_SRC_ROOT, not LLVM_OBJ_ROOT.
llvm-svn: 67658
2009-03-25 00:09:05 +00:00
Dan Gohman
22ad86c5be Regenerate configure.
llvm-svn: 67656
2009-03-24 23:47:11 +00:00
Dan Gohman
2175f600ab Fix paths; AutoRegen.sh changes its current working directory to be the
autoconf directory, but these paths need to be relative to the main
source directory.

llvm-svn: 67655
2009-03-24 23:46:25 +00:00
Dan Gohman
91dd40133b Update for autoconf 2.6x;
llvm-svn: 67654
2009-03-24 23:45:13 +00:00
Dan Gohman
81d906ee93 Fix bash-isms.
llvm-svn: 67647
2009-03-24 20:21:37 +00:00
Oscar Fuentes
a760e8b5c5 CMake: auto-discover project files under the projects/ subdirectory.
Patch by Viktar Zviarovich!

llvm-svn: 66230
2009-03-06 01:16:52 +00:00
Nick Lewycky
7ceb1c1d32 Add "sample" documentation to sample project.
This fixes part of PR2793.

llvm-svn: 56198
2008-09-15 05:31:29 +00:00
Matthijs Kooijman
cc3a96959e Allow the test suite to be checked out into projects/test-suite.
We will keep the old projects/llvm-test working for existing installs.

The changes to configure are made manually, since I lack autoconf-2.6. Someone
might want to run AutoGen.sh to see if that changes anything.

llvm-svn: 52675
2008-06-24 13:01:57 +00:00
Chris Lattner
6aece93d5c remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
John Criswell
57e5ed4b5a Convert .cvsignore files
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Chris Lattner
0459e976aa avoid collision with /usr/bin/sample if this ever gets installed.
llvm-svn: 34387
2007-02-18 03:03:41 +00:00
Chris Lattner
920e143505 remove obsolete comment
llvm-svn: 33292
2007-01-17 05:26:57 +00:00
Reid Spencer
1b19c8a79f For PR1074:
Remove the projects/Stacker directory. LLVM is now free of dependency
on llvm-gcc.

llvm-svn: 33278
2007-01-17 02:18:44 +00:00
Chris Lattner
f23cc5bc53 relax type
llvm-svn: 32993
2007-01-07 08:39:27 +00:00
Reid Spencer
0e73246942 For PR950:
Convert signed integer types to signless.

llvm-svn: 32786
2006-12-31 05:50:28 +00:00
Reid Spencer
4428c3483b For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.

llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Chris Lattner
127359ca33 switch statistic over, remove misspelt comment.
llvm-svn: 32704
2006-12-19 23:03:41 +00:00
Reid Spencer
98993dca2d Update for llvm-gcc4 build.
llvm-svn: 32533
2006-12-13 08:03:25 +00:00
Reid Spencer
b37bd85add Change createInferredCast calls to more accurate cast creation calls.
llvm-svn: 32520
2006-12-13 00:47:58 +00:00
Bill Wendling
a3246c4272 Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.

llvm-svn: 32298
2006-12-07 01:30:32 +00:00
Devang Patel
dea0f73f39 Detemplatize the Statistic class.
llvm-svn: 32283
2006-12-06 19:00:27 +00:00
Bill Wendling
4effa38086 Replacing std::iostreams with llvm iostreams. Some of these changes involve
adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.

llvm-svn: 31990
2006-11-29 00:19:40 +00:00
Reid Spencer
992d9788b3 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.

llvm-svn: 31931
2006-11-27 01:05:10 +00:00
Reid Spencer
da1f5b882a 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.

llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer
919214045b Don't check variables before they are set.
Be careful about blanks when checking LLVMGCC variable.

llvm-svn: 31455
2006-11-05 03:58:44 +00:00
Reid Spencer
982502187b Make sample project -pedantic clean.
llvm-svn: 31391
2006-11-03 00:09:53 +00:00
Reid Spencer
9eb8cbc760 Make Stacker Runtime -pedantic clean.
llvm-svn: 31390
2006-11-03 00:08:08 +00:00
Reid Spencer
4bafa71dc1 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.

llvm-svn: 31380
2006-11-02 20:25:50 +00:00
Reid Spencer
1abf69e923 For PR950:
Replace the REM instruction with UREM, SREM and FREM.

llvm-svn: 31369
2006-11-02 01:53:59 +00:00
Reid Spencer
6833ffe8b8 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.

llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Reid Spencer
d414793dbc 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.

llvm-svn: 31063
2006-10-20 07:07:24 +00:00
Reid Spencer
ff83d25c48 Don't build the runtime library if LLVMGCC is not configured.
llvm-svn: 30691
2006-10-02 19:10:56 +00:00
Chris Lattner
fb306aaf2d Stacker doesn't build universal right.
llvm-svn: 30675
2006-09-30 00:24:20 +00:00
Chris Lattner
bfd3ac7c39 Fix a race condition in the makefile that broke grawp's tester last night.
llvm-svn: 29873
2006-08-25 17:15:23 +00:00
Reid Spencer
943ab202d4 For PR797:
Update to reflect ParseException becoming ParseError (from Parser.h)

llvm-svn: 29766
2006-08-18 09:07:54 +00:00
Reid Spencer
f9bf69e97e Drop the -s2048 option, it is specified incorrectly and the correct
specification can't be handled by llvmc (= confuses it)

llvm-svn: 29764
2006-08-18 09:00:22 +00:00
Reid Spencer
3f5e3c843a 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.

llvm-svn: 29551
2006-08-07 23:12:15 +00:00
Chris Lattner
2ca7327460 Stacker uses EH.
llvm-svn: 29032
2006-07-07 00:20:39 +00:00
Chris Lattner
b5733272c5 Don't pass target name into TargetData anymore, it is never used or needed.
llvm-svn: 28831
2006-06-16 18:23:49 +00:00
Chris Lattner
da2c53470b Fix build on systems with broken bison
llvm-svn: 28658
2006-06-02 18:21:11 +00:00
Reid Spencer
cf025eb201 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.

llvm-svn: 28614
2006-06-01 01:55:21 +00:00
Reid Spencer
94a443bb29 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.

llvm-svn: 28610
2006-06-01 01:30:27 +00:00
Chris Lattner
34893c34e5 Avoid defining dead result
llvm-svn: 28246
2006-05-12 17:29:40 +00:00
Reid Spencer
87e24202fb 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.

llvm-svn: 27798
2006-04-18 06:27:47 +00:00
Reid Spencer
c6ab0175cd Distribute the Stacker samples directory.
llvm-svn: 27648
2006-04-13 06:16:37 +00:00
Reid Spencer
0d38d62d93 Distribute the lex/yacc files from the cvs version.
llvm-svn: 27628
2006-04-12 20:55:23 +00:00
Reid Spencer
f96aba6638 Ignored generated files.
llvm-svn: 27016
2006-03-23 23:53:13 +00:00
Reid Spencer
0018f29472 Ignore generated files.
llvm-svn: 27015
2006-03-23 23:51:43 +00:00
Chris Lattner
0ebae20ee1 Convert over to the new way of handling lex/bison checked into cvs
llvm-svn: 26209
2006-02-15 07:26:07 +00:00
Robert Bocchino
d424e0904c Fixed Makefile so it does, indeed, build a dynamic library.
llvm-svn: 25135
2006-01-06 22:51:19 +00:00
Chris Lattner
0f03924202 unbreak the build again
llvm-svn: 24041
2005-10-27 16:30:44 +00:00
Chris Lattner
9809d0acec 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

llvm-svn: 24024
2005-10-27 00:53:16 +00:00
Chris Lattner
59b7cf2071 use archives when possible
llvm-svn: 23932
2005-10-24 01:52:15 +00:00
Reid Spencer
46a7fdeb66 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.

llvm-svn: 23115
2005-08-27 18:50:39 +00:00
Andrew Lenharth
dcc86e27ca oops
llvm-svn: 22334
2005-07-05 16:36:18 +00:00
Andrew Lenharth
e889dbed2d updates
llvm-svn: 22333
2005-07-05 15:18:33 +00:00
Reid Spencer
1a1a359f4e Make the value to -s not be interpreted as a file name
llvm-svn: 22134
2005-05-19 01:05:02 +00:00
Reid Spencer
42c7ea109e Add an llvmc specification file for the "st" suffix. This allows Stacker
programs to benefit from the optimization capabilities of the llvmc.

llvm-svn: 22133
2005-05-19 00:54:10 +00:00
Reid Spencer
f57ef0e638 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.

llvm-svn: 21942
2005-05-13 17:42:54 +00:00
Reid Spencer
47d216c0b3 Don't build runtime if tools-only :)
llvm-svn: 21938
2005-05-13 16:17:58 +00:00
Reid Spencer
dc2ab16e6f WHILE does not "pop" a value, it "examines" to top of stack. Make this
clear in the applicable comment.

llvm-svn: 21682
2005-05-04 15:33:48 +00:00
Jeff Cohen
8e5170aec2 Eliminate tabs and trailing spaces
llvm-svn: 21479
2005-04-23 21:26:11 +00:00
Misha Brukman
53e199440e Remove trailing whitespace
llvm-svn: 21427
2005-04-21 23:48:37 +00:00
Alkis Evlogimenos
e0e628a401 Rename createPromoteMemoryToRegister() to
createPromoteMemoryToRegisterPass() to be consistent with other pass
creation functions.

llvm-svn: 20885
2005-03-28 02:01:12 +00:00
Reid Spencer
d95ad13f8d 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.

llvm-svn: 20312
2005-02-24 18:53:47 +00:00
Reid Spencer
b56d560191 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.

llvm-svn: 20311
2005-02-24 18:52:22 +00:00
Reid Spencer
58a5e523ed * 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

llvm-svn: 20310
2005-02-24 18:50:53 +00:00
Reid Spencer
2c65a0c341 Don't put generated files into CVS.
llvm-svn: 20309
2005-02-24 18:49:37 +00:00
Reid Spencer
ff3a7cd1fd * Fix an output message
* Make aclocal look in LLVM's autoconf/m4 directory for macros
* Don't force generation of missing files

llvm-svn: 20307
2005-02-24 18:42:34 +00:00
Reid Spencer
6f4a056368 Update makefile to use PROJ_* makefile variables intead of BUILD_* as
required by changes to the Makefile.rules. Patch contributed by Vladimir
Merzliakov.

llvm-svn: 20175
2005-02-14 16:04:28 +00:00
Reid Spencer
25e0c1e8d7 Update per new Makefile requirements for projects
llvm-svn: 19594
2005-01-16 02:21:42 +00:00
Reid Spencer
afa1cb9e11 Rename BUILD_* to PROJ_*
llvm-svn: 19592
2005-01-16 02:21:29 +00:00
Reid Spencer
26d41ff72d Ignore autoconf/aclocal generated stuff.
llvm-svn: 19292
2005-01-05 17:26:00 +00:00
Reid Spencer
6f501908dd Cleanup configuration for Cygwin
llvm-svn: 19284
2005-01-05 06:41:10 +00:00
Reid Spencer
15619e49d4 Ignore some files
llvm-svn: 19221
2005-01-01 18:14:18 +00:00
Reid Spencer
3ab011eb95 Update to autoconf 2.59 standards.
llvm-svn: 19207
2005-01-01 09:26:55 +00:00
Reid Spencer
7b07e70f86 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

llvm-svn: 19165
2004-12-27 08:51:55 +00:00
Reid Spencer
62fe4f4e16 Correct build script for stkr_runtime module
llvm-svn: 18526
2004-12-05 05:18:28 +00:00
Reid Spencer
4c444dba9d Build a module instead of a library so main() is not missed
llvm-svn: 18525
2004-12-05 05:18:16 +00:00