Chris Lattner
124ea873ca
This line breaks FreeBSD and apparently isn't useful anymore.
...
llvm-svn: 17332
2004-10-29 03:46:38 +00:00
John Criswell
98b355b6b2
Commented out the _Alloc_traits specialization entirely, as it is only
...
supported by specific versions of GCC.
It is left in place in case anyone wants to updated it for GCC 3.4 or
re-use it for earlier versions of GCC where it works.
llvm-svn: 17324
2004-10-28 18:21:41 +00:00
John Criswell
158737a76c
Only add the _Alloc_traits specialization in if we're compiling for
...
Linux and not compiling for Sparc.
This is still probably not correct, or portable, but it'll do for now.
llvm-svn: 17321
2004-10-28 17:31:46 +00:00
Reid Spencer
4b04c85125
Fix the dependency of lex.o on gram.tab.h
...
llvm-svn: 17320
2004-10-28 16:48:13 +00:00
John Criswell
033d215ccb
Added the poolalloc module to the list of projects to configure, if present.
...
llvm-svn: 17319
2004-10-28 13:35:00 +00:00
Reid Spencer
9c7bfc96e0
Bug Fixes:
...
* Move rules that build directories earlier in the file so that they are
always built before the things that depend on them. This enables a
parallel "dist-check" target.
* Fix use of TOOLLINKOPTS and TOOLLINKOPTSB (thanks to Henrik Bach)
* Standardize the output - some scripts using plain echo instead of $(ECHO)
llvm-svn: 17318
2004-10-28 09:15:28 +00:00
Reid Spencer
be6a4e9b7f
Make parallel "install" and "uninstall" targets not step on itself.
...
llvm-svn: 17315
2004-10-28 07:57:28 +00:00
Alkis Evlogimenos
23e565484a
Gep indices must be of int, uint, long or ulong type.
...
llvm-svn: 17313
2004-10-28 06:43:38 +00:00
Reid Spencer
8eb04a7713
Make sure the sources get distributed (use EXTRA_DIST)
...
Add the goof.st sample.
llvm-svn: 17312
2004-10-28 06:42:34 +00:00
Brian Gaeke
56dbc4ca15
Fix library names for sparc
...
llvm-svn: 17311
2004-10-28 06:39:10 +00:00
Reid Spencer
c833eddfe6
Fix library name.
...
llvm-svn: 17307
2004-10-28 05:37:24 +00:00
Alkis Evlogimenos
6bbc57ec12
Fix library name.
...
llvm-svn: 17306
2004-10-28 05:36:48 +00:00
Reid Spencer
49cc2cf279
Fix library name.
...
llvm-svn: 17305
2004-10-28 05:32:01 +00:00
Reid Spencer
37d45f6934
Fix name of library
...
llvm-svn: 17304
2004-10-28 05:30:54 +00:00
Brian Gaeke
ae050e0b65
Regenerated after fixing typo.
...
llvm-svn: 17303
2004-10-28 05:06:45 +00:00
Reid Spencer
cae2d8a951
Make sure we test the right variable for the AC_DEFINE
...
llvm-svn: 17302
2004-10-28 05:04:20 +00:00
Brian Gaeke
591f5d6622
It's spelled IEEEFP
...
llvm-svn: 17301
2004-10-28 04:17:05 +00:00
Reid Spencer
47fcbef63e
Use llvmc to compile the Stacker programs
...
llvm-svn: 17300
2004-10-28 04:08:05 +00:00
Reid Spencer
0ac18e0385
Add the samples directory to the build
...
llvm-svn: 17299
2004-10-28 04:07:54 +00:00
Reid Spencer
f828c812bd
Remove the FORCE token, rename VERSION to VERSION_TOK so it doesn't
...
conflict with configuration variables and #defines.
llvm-svn: 17298
2004-10-28 04:06:15 +00:00
Reid Spencer
aec50b98e0
Implement linking.
...
llvm-svn: 17297
2004-10-28 04:05:06 +00:00
Reid Spencer
04b92192ec
Eliminate the force flag, configuration item, and related support
...
llvm-svn: 17296
2004-10-28 04:04:38 +00:00
Reid Spencer
ffe5f97f17
Pass -f to stkrc to ensure the output file is always written.
...
llvm-svn: 17295
2004-10-28 03:57:49 +00:00
Reid Spencer
1002e454cb
Eliminate the -F option (for forcing output) .. not needed
...
Create GCC compatible -Wx, aliases for the existing -T options.
llvm-svn: 17294
2004-10-28 03:56:16 +00:00
Reid Spencer
e8ee9b2432
Add llvm-ld to the subdirs to be built
...
llvm-svn: 17293
2004-10-28 03:53:02 +00:00
Reid Spencer
548e1c2a03
Convert to new library names.
...
llvm-svn: 17292
2004-10-28 03:50:43 +00:00
Reid Spencer
4bc9b0ff4a
Get rid of drivel.
...
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.
llvm-svn: 17290
2004-10-28 01:25:28 +00:00
Reid Spencer
c9bbb35c6f
Make sure that the yacc and lex output are specified as BUILT_SOURCES.
...
Correct the dependency of the Lexer.o file on the constructed
llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on
the header, its the output of compiling Lexer.cpp, Lexer.o
llvm-svn: 17289
2004-10-28 00:43:24 +00:00
Reid Spencer
b7f710ae7b
Bug Fixes:
...
* Ensure that BUILT_SOURCES depends on OBJ_DIR/Makefile so that they do not
get built before the Makefile is updated.
* Fix build script for yacc & lex files by stopping it from thwarting the
dependencies on the file. If the .y file changes, it needs to be rebuilt.
This also cleans up the problem with llvmAsmParser ALWAYS rebuilding its
Yacc files just to throw them away because there's no change.
llvm-svn: 17288
2004-10-28 00:41:43 +00:00
Reid Spencer
34bb03c61b
Update for library name change.
...
llvm-svn: 17287
2004-10-28 00:11:43 +00:00
Reid Spencer
57cbe39d1e
Change Library Names Not To Conflict With Others When Installed
...
llvm-svn: 17286
2004-10-27 23:18:45 +00:00
Reid Spencer
9f337bf96f
Add the HAVE_RAND48 define.
...
llvm-svn: 17285
2004-10-27 23:09:31 +00:00
Reid Spencer
f9676539bb
Changes to support rand48 tests
...
llvm-svn: 17284
2004-10-27 23:03:44 +00:00
Reid Spencer
c8c272ffb1
Fix auto-reconfigure bug: make sure we actually reconfigure not just
...
regenerate the config.status script.
llvm-svn: 17283
2004-10-27 22:48:58 +00:00
Chris Lattner
e721eb007c
Add a couple of new features
...
llvm-svn: 17282
2004-10-27 16:28:17 +00:00
Chris Lattner
7dfc2d29ac
Convert 'struct' to 'class' in various places to adhere to the coding standards
...
and work better with VC++. Patch contributed by Morten Ofstad!
llvm-svn: 17281
2004-10-27 16:14:51 +00:00
Chris Lattner
cebf2bbe9e
Give sumant credit too!
...
llvm-svn: 17280
2004-10-27 15:54:23 +00:00
Nate Begeman
a2b117c68a
Move destructor out of line to avoid vtable emission in every file that includes the header. Thanks to sabre.
...
llvm-svn: 17278
2004-10-27 06:00:53 +00:00
Chris Lattner
70c2039b39
Hrm, this code was severely botched. As it turns out, this patch:
...
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041018/019708.html
exposed ANOTHER latent bug in this xform, which caused Prolangs-C/bison to fill
the zion nightly tester disk up and make the tester barf.
This is obviously not a good thing, so lets fix this bug shall we? :)
llvm-svn: 17276
2004-10-27 05:57:15 +00:00
Nate Begeman
c193790dbb
Fix the build by eliminating some more dead code. That'll learn me not to listen to Reid
...
llvm-svn: 17275
2004-10-27 05:44:23 +00:00
Nate Begeman
5e8cce5313
Remove dead data member in MRegisterInfo class. Thanks sabre!
...
llvm-svn: 17274
2004-10-27 04:51:58 +00:00
Reid Spencer
94105c7b19
Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the
...
*.inc files get regenerated.
llvm-svn: 17273
2004-10-27 04:34:35 +00:00
Chris Lattner
845afe9b20
Initialize with the correct constant type
...
llvm-svn: 17270
2004-10-27 03:55:24 +00:00
Reid Spencer
d94bb33911
Make sure that Makefile.rules and Makefile.config.in are not candidates for
...
automatic makefile update.
llvm-svn: 17269
2004-10-26 23:10:00 +00:00
Reid Spencer
77a46d25a5
Cleanup/Fixes:
...
* Force preconditions to be met FIRST
* Fix dist-check dependency
* Add some variables to the printvars target
* Automatically update Makefile.* as well as just Makefile
llvm-svn: 17268
2004-10-26 22:26:33 +00:00
Reid Spencer
938aa3e4af
* Make the libcrtend.a installation depend on the bytecode-libs directory
...
* Conform output to standard.
llvm-svn: 17267
2004-10-26 21:30:31 +00:00
Chris Lattner
e43c9c2db2
Unless someone seriously objects, I don't think we really need this. Sorry
...
resistor :(
llvm-svn: 17265
2004-10-26 20:02:50 +00:00
Chris Lattner
6ee2c57128
Plug a memory leak in the asmparser. It turns out that we were leaking
...
the strings for basic block labels in some cases. This amounted to about
120K of memory for namd, a medium sized program.
llvm-svn: 17262
2004-10-26 18:26:14 +00:00
Misha Brukman
75e5700227
Wrap comments at 80 cols
...
llvm-svn: 17261
2004-10-26 18:00:03 +00:00
Chris Lattner
fda51a5933
add support for UndefValue
...
llvm-svn: 17260
2004-10-26 16:23:03 +00:00
Chris Lattner
e9e73bd3b1
Fix header
...
llvm-svn: 17259
2004-10-26 16:19:57 +00:00
Misha Brukman
03f87d527d
Use <tt> around "#include" and "std::endl"
...
llvm-svn: 17258
2004-10-26 16:18:43 +00:00
Misha Brukman
4f056d55d5
* DataTypesFix.h moved to AIXDataTypesFix.h
...
* Condition #inclusion of AIXDataTypes.h on the _AIX preprocessor symbol to
prevent extra I/O on non-AIX systems. Thus, no #ifdef in AIXDataTypes.h
llvm-svn: 17257
2004-10-26 16:15:18 +00:00
Misha Brukman
d73c8428f1
Use <tt> around header names
...
llvm-svn: 17256
2004-10-26 16:07:46 +00:00
Misha Brukman
0c7e1420c1
* Thanks to Morten Ofstad for the Visual C++ compatibility fixes
...
* Added Paolo's email address
llvm-svn: 17255
2004-10-26 15:55:12 +00:00
Misha Brukman
f2499137d7
* Fix spelling and grammar errors
...
* Close <p> tags properly
* Break up paragraphs with blank lines, clean up text alignment
* Delete unbalanced "
llvm-svn: 17254
2004-10-26 15:45:13 +00:00
Chris Lattner
4336b87f2c
Move method bodies that depend on <algorithm> from MBB.h to MBB.cpp
...
llvm-svn: 17253
2004-10-26 15:43:42 +00:00
Chris Lattner
29f1999571
Remove the unused MachineBasicBlock2IndexFunctor class.
...
Move method bodies that depend on <algorithm> out of line to
MachineBasicBlock.cpp. Patch contributed by Morten Ofstad!
llvm-svn: 17252
2004-10-26 15:41:13 +00:00
Chris Lattner
c8b07dd339
Clean up the MachineBasicBlock.h file, percolating #includes into this file.
...
Patch contributed by Morten Ofstad
llvm-svn: 17251
2004-10-26 15:35:58 +00:00
Reid Spencer
8da1b5df59
* Implement the "dist-check" target that verifies the contents of a zipped
...
tarball.
* Fix bugs in the "dist" target (a precursor to dist-check).
* Correct the implementation of the "install" targets so that they ensure
the installation directories are created before attmpting to install
directories in them.
* Reduce the verbosity of the output of the makefile system
* Ensure output includes the configuration whenever libraries or tools are
built, installed, or uninstalled.
llvm-svn: 17250
2004-10-26 07:09:33 +00:00
Reid Spencer
4a9b5ff536
Reduce the number of EXTRA_DIST files since Makefile.rules now handles the
...
autoconf directory automagically.
llvm-svn: 17249
2004-10-26 07:05:09 +00:00
Reid Spencer
7e8825fc62
Make sure the samples and test directories get distributed.
...
llvm-svn: 17248
2004-10-26 07:04:18 +00:00
Reid Spencer
c6c87c1378
Make sure the include files get distributed.
...
llvm-svn: 17247
2004-10-26 07:03:39 +00:00
Reid Spencer
9b7a83838a
Add the export symbols list files as extra distribution files.
...
llvm-svn: 17246
2004-10-26 07:02:58 +00:00
Nate Begeman
7fed324ffc
Remove include of MRegisterInfo.h, since it is already included by
...
SkeletonGenRegisterInfo.h.inc
llvm-svn: 17245
2004-10-26 06:04:23 +00:00
Nate Begeman
dd8f1d8b77
Remove file that is no longer used, and move include of MRegisterInfo.h
...
from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually
needed.
llvm-svn: 17244
2004-10-26 06:02:38 +00:00
Nate Begeman
f94bedc26a
Remove method getRegClass from MRegisterInfo, as it is no longer used.
...
llvm-svn: 17243
2004-10-26 06:00:31 +00:00
Reid Spencer
e7d8dff1f7
Really get mkinstalldirs to shut up about what its doing .. who cares?
...
llvm-svn: 17242
2004-10-26 05:49:38 +00:00
Chris Lattner
3939800123
Improve help output from llvm-db 'info' command. Patch contributed by
...
Michael McCracken!
llvm-svn: 17241
2004-10-26 05:46:17 +00:00
Nate Begeman
47b9d33f5b
Eliminate usage of MRegisterInfo::getRegClass(physreg)
...
llvm-svn: 17240
2004-10-26 05:40:45 +00:00
Chris Lattner
d7a7a3f42f
Fix the interpreter crash that Michael McCracken found
...
llvm-svn: 17239
2004-10-26 05:35:14 +00:00
Chris Lattner
b56cb729bd
Reduce usage of MRegisterInfo::getRegClass
...
llvm-svn: 17238
2004-10-26 05:29:18 +00:00
Nate Begeman
4c6e1d694c
Update to-do list
...
llvm-svn: 17235
2004-10-26 04:10:53 +00:00
Nate Begeman
26feb4f6d8
Fix treecc. Also fix a latent bug in emitBinaryConstOperation that would
...
allow and const, 0 to be incorrectly codegen'd into a rlwinm instruction.
llvm-svn: 17234
2004-10-26 03:48:25 +00:00
Reid Spencer
aa4887b482
Add EXTRA_DIST for additional files to be distributed.
...
llvm-svn: 17233
2004-10-26 03:12:11 +00:00
Chris Lattner
a47b641a85
Give a useful hint
...
llvm-svn: 17232
2004-10-26 02:58:10 +00:00
Chris Lattner
bff6472b39
Bug fixed
...
llvm-svn: 17231
2004-10-25 22:13:02 +00:00
Chris Lattner
ff43ef3cc5
Disable the JIT until it can sorta kinda work.
...
llvm-svn: 17230
2004-10-25 20:53:41 +00:00
Chris Lattner
024627bc94
add a link to the makefile guide, eliminate redundant link to coding stds
...
llvm-svn: 17226
2004-10-25 19:39:46 +00:00
Chris Lattner
a555183507
Make a sentence easier to parse
...
llvm-svn: 17225
2004-10-25 19:37:46 +00:00
Chris Lattner
5b7c967b54
Fix spellos
...
llvm-svn: 17224
2004-10-25 19:28:03 +00:00
Chris Lattner
3fe79addf7
Remove template args that are the same as the default
...
llvm-svn: 17223
2004-10-25 19:09:41 +00:00
Chris Lattner
574fecb59e
Remove a dead class. Thanks to Morten Ofstad for pointing this out.
...
llvm-svn: 17222
2004-10-25 19:07:43 +00:00
Chris Lattner
21c6c41dcc
Remove dead assert
...
llvm-svn: 17221
2004-10-25 19:04:01 +00:00
Chris Lattner
d3642d720c
Patch to support MSVC, contributed by Morten Ofstad
...
llvm-svn: 17220
2004-10-25 18:47:10 +00:00
Chris Lattner
2e493d9e75
Patch to support MSVC, contributed by Morten Ofstad
...
llvm-svn: 17219
2004-10-25 18:46:05 +00:00
Chris Lattner
d57638c4a7
Fix compatibility with MSVC, patch by Morten Ofstad
...
llvm-svn: 17218
2004-10-25 18:45:16 +00:00
Chris Lattner
6180881673
Do not use variable sized arrays in C++, they are non-portable. Patch
...
contributed by Morten Ofstad
llvm-svn: 17217
2004-10-25 18:44:14 +00:00
John Criswell
7eeed938bf
Removed dead method, printPHICopiesForSuccessors().
...
llvm-svn: 17216
2004-10-25 18:41:50 +00:00
Chris Lattner
111c3e827e
Patch to support MSVC better, contributed by Morten Ofstad
...
llvm-svn: 17215
2004-10-25 18:40:47 +00:00
Chris Lattner
43df507fef
Patch to support MSVC, contributed by Morten Ofstad
...
llvm-svn: 17214
2004-10-25 18:40:08 +00:00
Chris Lattner
778963766c
Patch to support MSVC correctly, contributed by Morten Ofstad!
...
llvm-svn: 17213
2004-10-25 18:38:05 +00:00
John Criswell
a564e9e0ba
Modified switch generation so that only the phi values associated with the
...
destination basic block are copied.
llvm-svn: 17212
2004-10-25 18:30:09 +00:00
Reid Spencer
100080cc38
New Makefile Features:
...
* "dist" target now builds tar.gz, tar.bz2, and zip files suitable for
distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies
a "check".
* made the preconditions not do a recursive make and ensured that they are
executed sequentially.
* made the messages output by the makefile be prefixed with "llvm" and the
make level (e.g. llvm[1]: ) in the same way that make does so that the
messages are uniform and more readable.
* Fixed the tags target so that tags depends on TAGS which contains the
rules to build a file named TAGS
* Implemented the EXTRA_DIST feature in a few directories to make sure it
works.
llvm-svn: 17210
2004-10-25 08:27:37 +00:00
Reid Spencer
65cb53fe2f
Teach mkinstalldirs how to shut up about making directories.
...
llvm-svn: 17209
2004-10-25 08:21:09 +00:00
Reid Spencer
8d0d005998
Add a check for the tar program.
...
llvm-svn: 17208
2004-10-25 08:18:47 +00:00
Nate Begeman
74b7c1f3e0
Implement more complete and correct codegen for bitfield inserts, as tested
...
by the recently committed rlwimi.ll test file. Also commit initial code
for bitfield extract, although it is turned off until fully debugged.
llvm-svn: 17207
2004-10-24 10:33:30 +00:00
Nate Begeman
30e30c76ae
Initial checkin of regression test for generating the PowerPC rlwimi
...
instruction, which performs bitfield inserts. All tests should compile
to one rlwimi instruction.
llvm-svn: 17206
2004-10-24 10:30:22 +00:00
Reid Spencer
4fe72ed44f
First draft. More to come.
...
llvm-svn: 17205
2004-10-24 08:48:59 +00:00
Reid Spencer
dcba778871
Fix uninstall from rebuilding everything (wrong dependency)
...
llvm-svn: 17204
2004-10-24 08:21:04 +00:00