1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
Commit Graph

887 Commits

Author SHA1 Message Date
Patrick Jenkins
889052bcba Added a check to skip dejagnu test results gathering if we did not run dejagnu tests
llvm-svn: 29252
2006-07-21 21:58:06 +00:00
Patrick Jenkins
3d34e1c416 Fixed an issue of variable scope that prevented file size from being submitted to the server.
llvm-svn: 29251
2006-07-21 21:43:09 +00:00
Jim Laskey
085a8477a7 Eliminate data relocations by using NULL instead of global empty list.
llvm-svn: 29250
2006-07-21 21:15:20 +00:00
Jim Laskey
a67adda697 Use an enumeration to eliminate data relocations.
llvm-svn: 29249
2006-07-21 20:57:35 +00:00
Patrick Jenkins
79ee516a92 Added code to get .a and .o file sizes and submit them to the server in the nightly report.
llvm-svn: 29248
2006-07-21 19:51:40 +00:00
Patrick Jenkins
e23fc52a3a Fixed issue where nightly test always tells you you need to use -nickname
llvm-svn: 29241
2006-07-21 01:39:42 +00:00
Patrick Jenkins
335a1ff9e5 The nightly tester will no longer report numbers instead of tests performed.
llvm-svn: 29240
2006-07-21 01:34:01 +00:00
Evan Cheng
94c6f2c3b5 Also checks for noResults field.
llvm-svn: 29235
2006-07-20 23:36:20 +00:00
Patrick Jenkins
b246f08be0 We now fail and print an error message if a nightly tester does not specify a nickname on the command line
llvm-svn: 29230
2006-07-20 22:28:43 +00:00
Patrick Jenkins
93ab06eda2 Fixed a problem that caused the script to abort right before it sent out the information
llvm-svn: 29218
2006-07-20 16:54:43 +00:00
Patrick Jenkins
9f7c5e1b28 Removed the portion that determines which tests are newly passing/failing because we no longer keep the previos days list on the testing machines.
Added functionality to send lists of all tests, all passing tests, all failing tests all unexpected failing tests.

llvm-svn: 29209
2006-07-19 17:52:51 +00:00
Evan Cheng
0675bc6539 Make sub- and super- register classes const.
llvm-svn: 29200
2006-07-19 05:58:18 +00:00
Chris Lattner
8d82c97338 Fix a bug handling instructions, like blr, which just consist of a text
string.  The return value of printInstruction should be true for these.

llvm-svn: 29196
2006-07-19 01:39:06 +00:00
Evan Cheng
abd650f034 Add code size to target instruction use it as the 3rd isel sorting tie-breaker.
llvm-svn: 29193
2006-07-19 00:24:41 +00:00
Evan Cheng
708ca90182 Make sub- super- reg-class tables static.
llvm-svn: 29190
2006-07-18 22:18:31 +00:00
Patrick Jenkins
9ec7ba3d02 yet another change to get the correct gcc version for the nightly test results.
llvm-svn: 29188
2006-07-18 21:21:53 +00:00
Chris Lattner
4ec74164ba Fix case where identical cases were not detected across case #0, because
instructions not handled would have a case value of #0, throwing things off.
This marginally shrinks the X86 asmprinter, but shrinks the sparc asmwriter
by 25 lines.

llvm-svn: 29187
2006-07-18 19:27:30 +00:00
Chris Lattner
77571f3b5e Fix an accidentally duplicated line that caused tblgen to crash on itanium.
Add an assert that catches the real problem earlier.

llvm-svn: 29185
2006-07-18 19:06:01 +00:00
Chris Lattner
7ee758d987 Maximally group commands. When all instructions within a command set have a
series of identical commands, handle them all with one switch.  In the case
of the x86 at&t asm printer, only 3 switches are needed for all instructions.

llvm-svn: 29184
2006-07-18 18:28:27 +00:00
Chris Lattner
5ea6af7b07 Change generator to remove operands as it processes them. No change in
generated file.

llvm-svn: 29183
2006-07-18 17:56:07 +00:00
Chris Lattner
39569f417f Handle the last operand more intelligently. When emitting the \n, also
return from the asmprinter to make the generated asmprinter both more
efficient and smaller.

llvm-svn: 29182
2006-07-18 17:50:22 +00:00
Chris Lattner
2c14435831 Emit switches with 1/2 cases as unconditional code or an if/then/else for
tidyness.

llvm-svn: 29181
2006-07-18 17:43:54 +00:00
Chris Lattner
b84950e599 Steal bits from the asm string index to use for operand information. On both
x86 and ppc, this gets us 4 more bits to play with, since the string indices
both only use 12 bits.

llvm-svn: 29180
2006-07-18 17:38:46 +00:00
Chris Lattner
c4f6ee6c6d Merge operand info and asmstr idx into a single 32-bit field. No other change.
llvm-svn: 29179
2006-07-18 17:32:27 +00:00
Patrick Jenkins
6d30beb37e Minor output changes.
llvm-svn: 29178
2006-07-18 17:21:30 +00:00
Chris Lattner
12ac6ac958 Completely change the structure of the generated asmprinter to be more table
based and less switch-statements-with-hundreds-of-cases based.  This shrinks
the x86 asmprinters to about 1/3 their previous size.

Other improvements coming.

llvm-svn: 29177
2006-07-18 17:18:03 +00:00
Patrick Jenkins
aef7b87361 If a gccpath is specified when invoking the nightly test script we will hopefully now use that gcc for the gcc version. Also fixed some 80 char column stuff.
llvm-svn: 29162
2006-07-17 16:41:19 +00:00
Evan Cheng
1910357655 Use __attribute__((noinline)) only if compiled by gcc.
llvm-svn: 29161
2006-07-16 06:14:37 +00:00
Evan Cheng
22ef77c90c Parameterize target node ValueType to allow more sharing of emit functions.
Also reduce the number of arguments passed to emit functions and removed a
hack.

llvm-svn: 29160
2006-07-16 06:12:52 +00:00
Evan Cheng
ff3dc2868c Reduce instruction selection code size and stack frame size by factoring
code that emit target specific nodes into emit functions that are uniquified
and shared among selection routines.
e.g. This reduces X86ISelDAGToDAG.o (release) from ~2M to ~1.5M. Stack frame
size of Select_store from ~13k down to ~8k.
This is the first step. Further work to enable more sharing will follow.

llvm-svn: 29158
2006-07-15 08:45:20 +00:00
Chris Lattner
6c71767f88 The generated index array should be const.
llvm-svn: 29155
2006-07-14 23:14:02 +00:00
Chris Lattner
e6892852be Emit the string information for the asm writer as a single large string
and index into it, instead of emitting it like this:

  static const char * const OpStrs[] = {
    "PHINODE\n",        // PHI
    0,  // INLINEASM
    "adc ",     // ADC32mi
    "adc ",     // ADC32mi8
   ...

The old way required thousands of relocations that slows down link time and
dynamic load times.

This also cuts about 10K off each of the X86 asmprinters, and should shrink
the others as well.

llvm-svn: 29152
2006-07-14 22:59:11 +00:00
Patrick Jenkins
1e93371212 Fixed an issue where the user specified gcc was not the gcc we report to the nightly test server.
llvm-svn: 29144
2006-07-14 20:44:09 +00:00
Jim Laskey
a140e5e06c Clean up.
llvm-svn: 29137
2006-07-13 22:17:08 +00:00
Jim Laskey
a96045b549 1. Simplfy bit operations.
2. Coalesce instruction cases.

llvm-svn: 29135
2006-07-13 21:02:53 +00:00
Patrick Jenkins
af67797298 Syntax error. I will run perl -c before commiting perl scripts.
llvm-svn: 29133
2006-07-13 16:58:42 +00:00
Patrick Jenkins
1b959dfcc6 Fixed some small bugs exposed when trying to get a sparc machine to run the script. Specifically some misnamed variables.
llvm-svn: 29132
2006-07-13 16:56:48 +00:00
Jim Laskey
e3cc434032 Move base value of instruction to lookup table to prepare for case reduction.
llvm-svn: 29122
2006-07-12 19:15:43 +00:00
Jim Laskey
d19ba2cf6c It was pointed out that DEBUG() is only available with -debug.
llvm-svn: 29106
2006-07-11 18:25:13 +00:00
Jim Laskey
4c0d841280 Ensure that dump calls that are associated with asserts are removed from
non-debug build.

llvm-svn: 29105
2006-07-11 17:58:07 +00:00
Jim Laskey
9b46a1235a Reduce bloat in target libraries by removing per machine instruction assertion
from code emitter generation.

llvm-svn: 29097
2006-07-11 01:25:59 +00:00
Patrick Jenkins
f920192ee6 Fixed some output issues where newlines were not being printed after error messages
llvm-svn: 29082
2006-07-10 18:35:41 +00:00
Patrick Jenkins
7aeda4b1ef Fixed an issue that tried to cat externalprogramstable.txt from the testresults directory when it doesnt exist.
llvm-svn: 29080
2006-07-10 16:36:19 +00:00
Patrick Jenkins
57cbccde81 Syntax error in NewNightlyTest.pl
llvm-svn: 29074
2006-07-07 21:47:24 +00:00
Patrick Jenkins
60f82a42f5 Fixed a variable naming issue for the External Program Results table. Also fixed an issue with printing the sent data to a sentdata.txt
llvm-svn: 29073
2006-07-07 21:40:34 +00:00
Patrick Jenkins
00f6c95af4 Updated comments at top of file to reflect relevant command line options.
llvm-svn: 29065
2006-07-07 18:50:51 +00:00
Patrick Jenkins
5f597717ab Added the -noremoveresults option which will not remove the $WebDir from the nightly test runs.
llvm-svn: 29056
2006-07-07 17:31:38 +00:00
Patrick Jenkins
c3d3d02ba2 Fixed variable naming issue that prevented $Prefix-senddata.txt from having any information
llvm-svn: 29046
2006-07-07 17:08:02 +00:00
Chris Lattner
28cf368f82 tblgen uses EH
llvm-svn: 29034
2006-07-07 00:21:17 +00:00
Patrick Jenkins
aa5eacf36e Fixed a bug that looked for -Warnings.txt and -Tests.txt in ridiculous places.
llvm-svn: 29027
2006-07-06 22:32:15 +00:00