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

15245 Commits

Author SHA1 Message Date
Reid Spencer
28ceb24005 * Implement getStatusInfo for getting stat(2) like information
* Implement createTemporaryFile for mkstemp(3) functionality
* Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode.

llvm-svn: 17654
2004-11-09 20:26:31 +00:00
Reid Spencer
ec5e394536 Make sure llee can deal with compressed bytecode too.
llvm-svn: 17652
2004-11-09 20:21:25 +00:00
John Criswell
5be81b837b Recognize compressed LLVM bytecode files.
This should fix the problem of not being able to link compressed LLVM
bytecode files from LLVM libraries.

llvm-svn: 17648
2004-11-09 19:37:07 +00:00
Reid Spencer
d9387fee02 Tune compression:
bzip2: block size 9 -> 5, reduces memory by 400Kbytes, doesn't affect speed
       or compression ratio on all but the largest bytecode files (>1MB)
zip:   level 9 -> 6, this speeds up compression time by ~30% but only
       degrades the compressed size by a few bytes per megabyte. Those few
       bytes aren't worth the effort.

llvm-svn: 17647
2004-11-09 17:58:09 +00:00
Chris Lattner
9f035c9fdb Change this back so that I get stable numbers to reflect the change from the
nightly testers

llvm-svn: 17646
2004-11-09 08:05:23 +00:00
Reid Spencer
471722dd19 Document quick-test target.
llvm-svn: 17644
2004-11-09 06:32:58 +00:00
Reid Spencer
85c587ca76 Add a quick-test target that uses QUICKTEST variable to quickly run a
portion of the test suite. e.g.:

make quck-test QUICKTEST=Regression/Bytecode

llvm-svn: 17643
2004-11-09 06:28:32 +00:00
Chris Lattner
b924e8be62 Fix bug: 2004-11-08-FreeUseCrash.ll
llvm-svn: 17642
2004-11-09 05:10:56 +00:00
Chris Lattner
eabfcfca53 Name file properly
llvm-svn: 17641
2004-11-09 05:07:01 +00:00
Chris Lattner
762f7cb4b3 Hrm, don't ask how I ran into this bug
llvm-svn: 17640
2004-11-09 05:06:23 +00:00
Misha Brukman
5718caa3ab * Convert tabs to spaces
* Order #includes according to style guide
* Remove extraneous blank lines

llvm-svn: 17639
2004-11-09 04:27:19 +00:00
Misha Brukman
a0f0b891d5 Output the program name (in this case, gccld) with warning about invalid files
llvm-svn: 17638
2004-11-09 04:24:59 +00:00
Nate Begeman
398bd2b9f6 Allow hbd to be bugpointable on darwin by fixing common and linkonce codegen
llvm-svn: 17637
2004-11-09 04:01:18 +00:00
Misha Brukman
f28a01454d Handle headers for compressed bytecode files
llvm-svn: 17634
2004-11-08 22:03:32 +00:00
Misha Brukman
f8e7ae05a9 Don't silently ignore invalid files: tell the user!
llvm-svn: 17633
2004-11-08 22:03:10 +00:00
Chris Lattner
0efef015fa Fix a bug that was preventing povray and namd from pool allocating correctly.
llvm-svn: 17632
2004-11-08 21:08:46 +00:00
Chris Lattner
dcee21898f Handle assert_fail special
llvm-svn: 17631
2004-11-08 21:08:28 +00:00
Misha Brukman
eb1d9f84eb Remove extra spaces
llvm-svn: 17629
2004-11-08 19:01:03 +00:00
Chris Lattner
df11216e4b This file is gone
llvm-svn: 17627
2004-11-08 18:46:09 +00:00
Reid Spencer
d2802b4bde Add a --disable-compression option to gccas so the default compression of
bytecode can be defeated.

llvm-svn: 17626
2004-11-08 17:37:04 +00:00
Reid Spencer
941a856338 Make writing compressed bytecode the default.
llvm-svn: 17625
2004-11-08 17:35:34 +00:00
Reid Spencer
91aa6dacad Implement and document the TOOL_VERBOSE option that asks each tool invoked
to be verbose about its actions too.

llvm-svn: 17624
2004-11-08 17:32:12 +00:00
Reid Spencer
81bfbe6e17 Fix typo.
llvm-svn: 17623
2004-11-08 09:10:50 +00:00
Reid Spencer
b0728efd3b Document compressed bytecode details.
llvm-svn: 17622
2004-11-08 08:55:21 +00:00
Reid Spencer
af24480f3e Fix a typo: isvalid -> isValid
llvm-svn: 17621
2004-11-08 08:27:51 +00:00
Alkis Evlogimenos
306136fdf0 Move path override in test/Makefile.
llvm-svn: 17613
2004-11-08 05:44:05 +00:00
Alkis Evlogimenos
e6e07d31ff Override PATH to submake so that all tools are found if the PATH is
not set up properly (it also avoids using different tools that happen
to be in the path).

llvm-svn: 17612
2004-11-08 05:35:03 +00:00
Misha Brukman
72122e4a8f * Add support for f2c and the -f2c switch to enable Fortran benchmarks
* Remove spurious spaces between variable names and `=' (they're not lined up
  anyway and there's no hope of doing that)

llvm-svn: 17611
2004-11-08 03:28:27 +00:00
Tanya Lattner
dab12a1946 Now using path to python found by configure.
llvm-svn: 17610
2004-11-08 03:26:59 +00:00
Misha Brukman
bb643fa9ee First draft of compendium of documents relevant to writers of LLVM machine
target backends

llvm-svn: 17609
2004-11-08 02:47:08 +00:00
Nate Begeman
a0c15f3ffd Put int the getReg cast optimization from x86 so that we generate fewer
move instructions for the register allocator to coalesce.

llvm-svn: 17608
2004-11-08 02:25:40 +00:00
Reid Spencer
5d3f5998c6 Recommend that new users read the documentation before they get started,
with a little twist of humor. This more than anything else will help
people get started with LLVM.

llvm-svn: 17605
2004-11-08 00:29:22 +00:00
Reid Spencer
faf590dd94 Correct and Explain the first rule of thumb better.
llvm-svn: 17604
2004-11-08 00:26:32 +00:00
Reid Spencer
4b6b7bdd14 Fix typo.
llvm-svn: 17603
2004-11-08 00:24:43 +00:00
Misha Brukman
c191073682 Fix grammar: use commas in a list of entities
llvm-svn: 17602
2004-11-08 00:22:22 +00:00
Misha Brukman
8c397821a5 Implement ExecutionEngine::freeMachineCodeForFunction()
llvm-svn: 17601
2004-11-07 23:58:46 +00:00
Misha Brukman
14f6ade91b Add method to delete machine code generated for a Function
llvm-svn: 17600
2004-11-07 23:58:02 +00:00
Reid Spencer
9de1e70c0b Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set
automatically in the Makefile.config file.

llvm-svn: 17599
2004-11-07 23:29:39 +00:00
Tanya Lattner
83977bd23b Changed TEST to TESTSUITE
llvm-svn: 17598
2004-11-07 23:26:13 +00:00
Tanya Lattner
3ce993cbc4 Fix for objdir != srcdir.
llvm-svn: 17597
2004-11-07 23:24:21 +00:00
Tanya Lattner
3359a3a405 More srcdir != objdir changes.
llvm-svn: 17596
2004-11-07 23:21:50 +00:00
Misha Brukman
e3c7340f86 * Fix file-relative links: they need '#' prepended to the target name
* Balance an open parenthesis

llvm-svn: 17595
2004-11-07 22:42:37 +00:00
Misha Brukman
051e5530e7 Use LLVMToolDir instead of ToolDir because the latter is no longer set (?)
llvm-svn: 17594
2004-11-07 22:26:43 +00:00
Tanya Lattner
e955787a98 Made changes to support objdir!=srcdir.
llvm-svn: 17590
2004-11-07 22:04:21 +00:00
Chris Lattner
a9e56ddaa3 VERY large functions that are only called from one place are not really
exciting to inline.  Only inline medium or small sized functions with a
single call site.

llvm-svn: 17588
2004-11-07 21:46:47 +00:00
Tanya Lattner
3889be029b Removed passing TARGET.
llvm-svn: 17587
2004-11-07 21:43:57 +00:00
Tanya Lattner
4af4d3715e Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags.
llvm-svn: 17586
2004-11-07 21:39:41 +00:00
Nate Begeman
a7541b19fc Disable bogus cast elimination when the cast is used by a setcc instruction.
llvm-svn: 17583
2004-11-07 20:23:42 +00:00
Reid Spencer
12898ae83e Add TARGET_TRIPLE
llvm-svn: 17581
2004-11-07 19:12:53 +00:00
Reid Spencer
103dc795df First version of this document listing the required software. Might need
to be made platform specific. Contents reflect my Linux build environment.

llvm-svn: 17580
2004-11-07 19:07:06 +00:00