1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
Commit Graph

222 Commits

Author SHA1 Message Date
Chris Lattner
5fc6c15a31 Okay, spiff is completely incapable of handling files of nontrivial size.
Here is a simple minimal program that does what we want.  Instead of taking
minutes to compare mesa's output, and crashing on binary files (like spiff
does), this take < .02s in the common case and doesn't crash.

llvm-svn: 12926
2004-04-13 20:55:49 +00:00
Chris Lattner
7600e1a723 Increase buffer size again. *sigh*
llvm-svn: 12912
2004-04-13 18:43:18 +00:00
Chris Lattner
ca7062b1d9 Don't index spiff. It should not count as lines of LLVM code
llvm-svn: 12911
2004-04-13 18:37:51 +00:00
Chris Lattner
0b4b2331f6 Fixed sized limits are bad... duh.
llvm-svn: 12908
2004-04-13 18:34:16 +00:00
Chris Lattner
c0e932457f Really spiff, don't chatter :)
llvm-svn: 12907
2004-04-13 18:33:21 +00:00
Brian Gaeke
27ab76dbcb Don't underline diffs
llvm-svn: 12902
2004-04-13 18:24:01 +00:00
Brian Gaeke
08b81db73a Clean up the Spiff code so that it emits fewer warnings. This
consists mostly of changing sloppy K&R C code to slightly more
disciplined K&R C code, and doing the usual things to shut gcc up.

llvm-svn: 12877
2004-04-13 03:24:45 +00:00
Brian Gaeke
8feac10842 Build Spiff directory
llvm-svn: 12876
2004-04-12 22:53:51 +00:00
Brian Gaeke
52e364f301 Add the Spiff fp-aware diff utility from Bellcore
llvm-svn: 12875
2004-04-12 22:53:24 +00:00
Jakub Staszak
3c2d9c95e2 Tablegen backend for really simple instruction selector
llvm-svn: 12713
2004-04-06 19:31:31 +00:00
Jakub Staszak
6cb338c254 add tablgen backend for really simple instruction selector
llvm-svn: 12712
2004-04-06 19:30:56 +00:00
Chris Lattner
6bf4112131 Teach vim about the select instruction. Allow it to forget about the long-dead
not instruction.

llvm-svn: 12327
2004-03-12 05:55:07 +00:00
Chris Lattner
ac0217ede2 Teach emacs about the select instruction
llvm-svn: 12326
2004-03-12 05:54:48 +00:00
Chris Lattner
3d278501c4 Default to using edge counts
llvm-svn: 12234
2004-03-08 20:04:46 +00:00
Brian Gaeke
cce916b047 Squash /usr/dcs path; use a 'require <version>' instead.
llvm-svn: 12099
2004-03-03 17:38:51 +00:00
Brian Gaeke
b25ed8394b Add my regression finding by binary searching cvs script.
llvm-svn: 12095
2004-03-03 08:14:25 +00:00
John Criswell
ed813111c2 Added EH support.
llvm-svn: 12075
2004-03-02 15:54:25 +00:00
Brian Gaeke
3623dca9a1 Don't look in the .libs directories that libtool makes
llvm-svn: 12027
2004-03-01 02:41:22 +00:00
Chris Lattner
9f35c413f5 Do not remove an active template argument even if the superclass had one of the
same name

llvm-svn: 11950
2004-02-28 17:41:48 +00:00
Chris Lattner
7d89f8837d Ignore X = X assignments that was causing Alkis's rewrite of X86.td to crash
tblgen.

llvm-svn: 11948
2004-02-28 17:31:28 +00:00
Chris Lattner
07aebf1c49 Assert instead of going into an infinite loop!
llvm-svn: 11946
2004-02-28 16:31:53 +00:00
John Criswell
7d65f50df2 Added support for C++ compilation.
Made removing the object files a separate sh command so that it can easily
be commented out.

llvm-svn: 11888
2004-02-26 23:02:25 +00:00
John Criswell
14b91a76f7 C++ version of llvm-native-gcc.
llvm-svn: 11887
2004-02-26 23:01:21 +00:00
John Criswell
cf4474a67b Updated to use llc to generate CBE code.
llvm-svn: 11823
2004-02-25 17:15:02 +00:00
Chris Lattner
f4551dc773 Add a label for the bump when we started counting llvm/projects
llvm-svn: 11596
2004-02-18 20:27:06 +00:00
Chris Lattner
bdd49e8f4d exit(1) instead of abort()'ing on error
llvm-svn: 11380
2004-02-13 16:37:43 +00:00
Chris Lattner
92da902d40 Fix buggy error message problem
llvm-svn: 11379
2004-02-13 16:33:56 +00:00
Misha Brukman
fcab5cd5b0 Ooops, top-level C++-comments aren't recognized by flex.
llvm-svn: 11337
2004-02-12 00:03:08 +00:00
Misha Brukman
63ba2d3f4d * Convert C comments to C++ style (why are some one way, some another?!)
* Delete extra space, extra blank comment lines
* Convert function comments to doxygen

llvm-svn: 11336
2004-02-12 00:00:46 +00:00
Brian Gaeke
f6636c791e Fix bug in initial check - when recompiling everything with llvm-native-gcc,
you have to erase the program and re-run the linker, too, before running the
checker.

llvm-svn: 11328
2004-02-11 18:52:05 +00:00
Chris Lattner
2cdf5065e0 Make block profiling the default
add a new -function argument
Add a new -o argument to specify where to put llvmprof.out data

llvm-svn: 11265
2004-02-10 18:01:50 +00:00
Brian Gaeke
1ac6f94067 Fix unterminated-quote typo in echo command
llvm-svn: 11188
2004-02-08 08:01:00 +00:00
Chris Lattner
1ad572ef72 Print the record NAME not the record ADDRESS
llvm-svn: 11144
2004-02-06 03:19:17 +00:00
Chris Lattner
5f74235ad9 Start counting projects
llvm-svn: 10980
2004-01-27 21:46:23 +00:00
Brian Gaeke
dc5961acc0 Fix a couple of places I noticed where "X86" was hard-coded.
llvm-svn: 10974
2004-01-24 09:23:46 +00:00
Brian Gaeke
d22e443f1e This is my script for narrowing down miscompilations to a single file.
llvm-svn: 10890
2004-01-15 22:35:43 +00:00
Chris Lattner
91b68d6a5a Eliminate annoying warnings from the tester, hopefully for real this time.
llvm-svn: 10777
2004-01-12 16:55:30 +00:00
Chris Lattner
9bd912df75 Fix annoying warnings. W doesn't have a revision number
llvm-svn: 10736
2004-01-09 18:39:04 +00:00
Chris Lattner
a9b2d06515 explain the jump for llvm-db
llvm-svn: 10713
2004-01-07 18:33:14 +00:00
Alkis Evlogimenos
e601a591a2 Change perl interpreter path to the standard /usr/bin/perl.
llvm-svn: 10708
2004-01-07 01:48:26 +00:00
Chris Lattner
2233ad8f0b Eliminate a spurious warning
llvm-svn: 10540
2003-12-19 19:48:43 +00:00
Chris Lattner
906ef6c1f7 If -enable-linscan is specified, add ENABLE_LINEARSCAN=1 to the make commandline
llvm-svn: 10527
2003-12-19 03:47:31 +00:00
Chris Lattner
cb86fbe3f1 Update template
llvm-svn: 10525
2003-12-19 03:34:46 +00:00
Chris Lattner
92ff4ee65b Stop laughing Misha
llvm-svn: 10393
2003-12-11 00:58:34 +00:00
Brian Gaeke
cac0a5fac5 Check in the llvm-native-gcc script, which I use in the process of
debugging front-end miscompilations.

llvm-svn: 10347
2003-12-09 22:23:24 +00:00
Brian Gaeke
cc408cc4dc This may fix the "0 dirs" stuff we get in the nightly tests when they are
checking out over remote cvs connections.

llvm-svn: 10278
2003-12-01 05:31:12 +00:00
Chris Lattner
d7d8b26e78 This function REALLY DOES return void
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Brian Gaeke
d25f86d683 Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
Chris Lattner
47b6e9f43e * Add units to the yaxis of each chart
* Add charts to the nightly test report

llvm-svn: 9808
2003-11-08 20:48:39 +00:00
Chris Lattner
7e5685b186 Since we are collecting all of this data, we might as well graph it!
llvm-svn: 9807
2003-11-08 20:33:04 +00:00
Chris Lattner
24f8a6f223 fix warnings on sparc
llvm-svn: 9759
2003-11-06 21:30:15 +00:00
Chris Lattner
3d3bf4a1fe Add -help option
llvm-svn: 9651
2003-11-02 05:17:32 +00:00
Chris Lattner
256e09567c Pass unrecognized options into llvmprof
llvm-svn: 9596
2003-10-29 21:51:00 +00:00
Chris Lattner
281c8b7f80 Add option for block profiling, pass in the "correct" argv[0] to the program
llvm-svn: 9566
2003-10-28 22:52:05 +00:00
Chris Lattner
6d1bb7683e Helper script for collecting profiling instrumentation. Simply run
$ profile.pl foo.bc <args>

... to instrument, run, then print a program profile!

llvm-svn: 9560
2003-10-28 22:11:31 +00:00
Chris Lattner
92b307a5c4 I'm tired of the nightly tester stopping, aren't you?
llvm-svn: 9544
2003-10-28 18:37:24 +00:00
Chris Lattner
26b87323af Make sure to syntax hilight the 'unwind' keyword!
llvm-svn: 9524
2003-10-27 05:09:15 +00:00
Chris Lattner
57cbb53968 Add more space!
llvm-svn: 9330
2003-10-21 15:47:31 +00:00
Chris Lattner
bd683948e7 Syntax highlight the new operators
llvm-svn: 9328
2003-10-21 15:37:09 +00:00
John Criswell
4746befea3 Added LLVM copyright notice.
llvm-svn: 9324
2003-10-21 15:29:18 +00:00
John Criswell
a8dfda0513 Added LLVM copyright to Makefiles.
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell
fc62e0f40d Added LLVM copyright header.
llvm-svn: 9305
2003-10-20 20:20:30 +00:00
Chris Lattner
4054f75405 DeHTMLify the email so that it only gets sent out if something changes.
Add printouts about failed building and testing.

llvm-svn: 9253
2003-10-19 16:54:00 +00:00
Chris Lattner
b06ba9f4b3 Print stuff to stdout if something changes.
llvm-svn: 9235
2003-10-18 19:31:39 +00:00
Brian Gaeke
5eb1c4e08e Add debug variable.
llvm-svn: 9188
2003-10-16 23:46:01 +00:00
John Criswell
c373496a63 Removed the .PRECIOUS of Lex and Yacc output files.
They are already marked precious in llvm/Makefile.rules, and removing
this line seems to fix the Makefile so that the Yacc output is placed
into the object tree and not the source tree.

llvm-svn: 9179
2003-10-16 20:38:16 +00:00
Chris Lattner
f6db20e5bb Fix bug in script
llvm-svn: 9110
2003-10-14 01:22:08 +00:00
John Criswell
1cee7eb4a6 Adding additional license information to these files.
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
Misha Brukman
ee0dc0d623 LLVM CVS repository has moved.
llvm-svn: 9099
2003-10-13 20:28:48 +00:00
Chris Lattner
b6c8569f05 Regularize header file comments
llvm-svn: 9071
2003-10-13 03:32:08 +00:00
Brian Gaeke
3f59e62c08 Greatly expand documentation comment at head of file... I had to
try to understand it; maybe this will help someone else do so too.
Default CVSRootDir to $CVSROOT first, then the path in ~vadve only if $CVSROOT
 was not set.
Checkout with -z3 if we might be checking out over ssh/rsh.
Check the filename of gnuplot to see if it is executable; if not, as a
 last resort, try just plain "gnuplot", hoping it is in the path somewhere.
Remove a little extra whitespace.

llvm-svn: 9046
2003-10-11 05:34:00 +00:00
Brian Gaeke
2f888cb5b5 This seems to work around some unobvious bug in gcc on sparc which was
causing the build of lib/Target/X86 to fail.

llvm-svn: 9042
2003-10-10 21:55:29 +00:00
Chris Lattner
991fdc030c Add support for the weak linkage specifier
llvm-svn: 9000
2003-10-10 04:56:26 +00:00
Chris Lattner
bdf6a7ae06 Include the new docs directory, whenever it gets added. www is gone
llvm-svn: 8982
2003-10-09 16:10:15 +00:00
Alkis Evlogimenos
74568bc9d4 Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs
and TargetInstrDescriptor::ImplicitUses to always point to a null
terminated array and never be null. So there is no need to check for
pointer validity when iterating over those sets. Code that looked
like:

if (const unsigned* AS = TID.ImplicitDefs) {
  for (int i = 0; AS[i]; ++i) {
    // use AS[i]
  }
}

was changed to:

for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) {
  // use *AS
}

llvm-svn: 8960
2003-10-08 05:20:08 +00:00
Alkis Evlogimenos
a9f403d226 Properly close anchor tags in column descriptions
llvm-svn: 8959
2003-10-08 05:09:52 +00:00
Brian Gaeke
3a8a90cdfb I wanted to make the top of the page less verbose. Hope this helps.
llvm-svn: 8891
2003-10-06 15:30:00 +00:00
Chris Lattner
06872fb674 The support directory no longer exists
llvm-svn: 8880
2003-10-05 19:33:27 +00:00
Chris Lattner
1e1215d0d7 Move support/tools/* back into utils
llvm-svn: 8875
2003-10-05 19:27:59 +00:00
Chris Lattner
b9e5f2e3a4 Make sure to include the "support" directory
llvm-svn: 8806
2003-10-01 21:12:46 +00:00
John Criswell
7b03490b91 Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.
llvm-svn: 8734
2003-09-29 14:52:53 +00:00
Chris Lattner
4a8c37b4c5 Fix bug in previous checkin
llvm-svn: 8694
2003-09-23 22:02:01 +00:00
Chris Lattner
21106c98aa Make it detect failed builds better
llvm-svn: 8690
2003-09-23 20:33:04 +00:00
Chris Lattner
02fd18a30b Document new column
llvm-svn: 8589
2003-09-17 22:02:49 +00:00
Vikram S. Adve
20aa586801 Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).

llvm-svn: 8525
2003-09-15 11:18:36 +00:00
Vikram S. Adve
73370cb070 Update makellvm to work with the brave new world of separate obj-root trees.
With these changes, you can still run makellvm directly from your source tree
as follows:
  % makellvm [toolname]	## looks for obj-root in default places (see below)
or
  % makellvm -obj obj-root [toolname]	## specify obj-root explicitly.

With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.

llvm-svn: 8509
2003-09-14 23:44:31 +00:00
Chris Lattner
038d15f8c3 Fix the nightly tester now that olden has been moved
llvm-svn: 8508
2003-09-14 06:00:49 +00:00
Chris Lattner
603c686ce3 syntax highlightify
llvm-svn: 8397
2003-09-08 18:08:11 +00:00
Chris Lattner
f166a70701 Syntax hilight
llvm-svn: 8396
2003-09-08 18:07:57 +00:00
Vikram S. Adve
9d5c5835aa Fix syntax error when makellvm is run in an invalid directory.
Add debugging support.

llvm-svn: 8389
2003-09-08 15:32:47 +00:00
Chris Lattner
4e512e2ac4 Add new label
llvm-svn: 8091
2003-08-23 23:16:37 +00:00
Misha Brukman
09deeb05a2 Make build errors stand out by coloring them red.
llvm-svn: 8017
2003-08-21 20:22:52 +00:00
Chris Lattner
e3b007b460 Start testing SPEC as well as singlesource/multisource
llvm-svn: 8005
2003-08-21 15:55:26 +00:00
Chris Lattner
0b012f0e4b Catch testing errors
llvm-svn: 7981
2003-08-20 15:44:33 +00:00
Chris Lattner
532e368c8a 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
Chris Lattner
a94cbbcf88 Fix bugs in tester
Add new -norunningtests option

llvm-svn: 7972
2003-08-19 18:35:03 +00:00
Misha Brukman
f01baed956 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
5cc11490e1 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
7c6610c63f Increase the size of the LOC chart
llvm-svn: 7968
2003-08-19 14:27:44 +00:00
Chris Lattner
cbf6effc11 Remove fixme
llvm-svn: 7958
2003-08-18 20:08:32 +00:00