John Criswell
faf1e07531
Reverting revision 1.209.
...
Including alloca.h on Solaris brings in the prototype of strftime(), which
breaks compilation of CBE generated code.
llvm-svn: 18435
2004-12-02 19:02:49 +00:00
Chris Lattner
45dc93bd6a
Add a note
...
llvm-svn: 18434
2004-12-02 18:21:45 +00:00
Chris Lattner
316f923a9c
Spill/restore X86 floating point stack registers with 64-bits of precision
...
instead of 80-bits of precision. This fixes PR467.
This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s.
llvm-svn: 18433
2004-12-02 18:17:31 +00:00
Chris Lattner
dfdd49b7af
Consider 64-bit registers to be FP as well.
...
llvm-svn: 18432
2004-12-02 17:57:21 +00:00
Chris Lattner
4157eb4769
Document beta pass
...
llvm-svn: 18431
2004-12-02 17:20:17 +00:00
Reid Spencer
62d6f8d10d
Standardize the makefiles with space around = to match the rest of LLVM.
...
llvm-svn: 18429
2004-12-02 09:58:09 +00:00
Reid Spencer
356384fbdb
PR466:
...
* Make the linker find lib*.bca files now instead of lib*.bc since those
are what the makefiles now generate for bytecode archives.
* Make sure the linker only links archives when LinkLibraries is called.
Previously if it found a lib*.bc file and that file was a bytecode file,
it would link in the entire bytecode. This could make -lc -lc fail with
duplicate symbols error but it shouldn't as searching multiple libraries,
even the same one more than once, is permitted.
* Now that the above problems are corrected, implement the dependent libs
feature. After the module is linked with all specified libraries, the
LinkLibraries function will obtain the set of dependent libraries from
the linked modules and attemp to find and link against those libraries.
llvm-svn: 18428
2004-12-02 09:52:10 +00:00
Reid Spencer
66100cfb51
Standardize the format of the runtime libraries makefiles.
...
* Don't have lines longer than 80 cols
* Blank line after the header
* Reduce spaces in var definitions.
llvm-svn: 18427
2004-12-02 09:31:40 +00:00
Reid Spencer
5c84750d29
For PR466:
...
Much of what this Makefile did to make a libcrtend.a file is now supported
by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've
simplified the make rules for building this library.
llvm-svn: 18426
2004-12-02 09:29:49 +00:00
Reid Spencer
4f97a0968b
For PR466:
...
Change construction of bytecode libraries from producing a single bytecode
file to producing a library containing bytecode files. This gets around the
problem of multiple symbol definitions in the linker if something like
-lc -lc is attempted on the command line. Previously this happened because
the linker would find libc.bc as a "library". It will now find libc.a which
it can simply search for missing symbols instead of linking in wholesale.
llvm-svn: 18425
2004-12-02 09:28:21 +00:00
Reid Spencer
04ac624826
Remove this left-over crud from the automake experiment.
...
llvm-svn: 18424
2004-12-02 09:23:51 +00:00
Reid Spencer
410c07a4b0
Implement file replacement correctly even with the f (TruncateNames) flag
...
set. The member name comparison was failing for truncated names. This patch
fixes that. Truncated names are now properly replaced.
llvm-svn: 18423
2004-12-02 09:21:55 +00:00
Reid Spencer
f16e254d8a
Fix seriously broken implementation of GetMagicNumber.
...
llvm-svn: 18422
2004-12-02 09:09:48 +00:00
Reid Spencer
5a392ee4cc
Search for tclsh last so we don't find the FreeBSD warning script too early
...
llvm-svn: 18421
2004-12-02 07:31:22 +00:00
Reid Spencer
8a4e9f95fd
Search for tclsh last so we don't find the FreeBSD warning script.
...
llvm-svn: 18420
2004-12-02 07:29:17 +00:00
Tanya Lattner
01adb68f38
Reworked branch adding in prologue. Added check for infinite loops which are not modulo scheduled.
...
llvm-svn: 18419
2004-12-02 07:22:15 +00:00
Chris Lattner
afb31cf723
Implement a FIXME by checking to make sure that a malloc is not being used
...
in scary and unknown ways before we promote it. This fixes the miscompilation
of 188.ammp that has been plauging us since a globalopt patch went in.
Thanks a ton to Tanya for helping me diagnose the problem!
llvm-svn: 18418
2004-12-02 07:11:07 +00:00
Chris Lattner
fd541d4228
Fix a minor bug where we set a var to initialized on malloc, not on store.
...
This doesn't fix anything that I'm aware of, just noticed it by inspection
llvm-svn: 18417
2004-12-02 06:25:58 +00:00
Reid Spencer
c0170de384
Fix the tclsh test to find tclsh8.[34] and tclsh8.[34].X as well.
...
llvm-svn: 18415
2004-12-02 04:17:20 +00:00
Reid Spencer
403097b52d
* Make sure the cache variable gets cached
...
* Don't search a bunch of .. directories for something we'd never find,
because we don't imbed tclsh into LLVM.
* Look for various tclsh versions because some platforms don't install the
tclsh link but just have tclsh8.3 or tclsh8.4 or some such.
llvm-svn: 18414
2004-12-02 04:15:24 +00:00
Chris Lattner
6adc42af75
Remove dead field
...
llvm-svn: 18412
2004-12-02 02:35:38 +00:00
Chris Lattner
bfb6258ba6
This program doesn't break anything anymore.
...
llvm-svn: 18411
2004-12-02 02:26:18 +00:00
Misha Brukman
0fc52c2de9
Reid has implemented llvm-ranlib. Thanks, Reid!
...
llvm-svn: 18410
2004-12-01 21:07:40 +00:00
Misha Brukman
3a25ddcc8d
* Hyphenate ``constant-propagate''
...
* Add testing notes to the instruction section similar as for intrinsics
* Mention adding codegen support for new instructions
llvm-svn: 18409
2004-12-01 20:58:54 +00:00
Misha Brukman
4be11c4921
Remove duplicated link to "Machine backend"
...
llvm-svn: 18408
2004-12-01 19:12:27 +00:00
Tanya Lattner
893f987574
Reverting this patch:
...
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021428.html
It broke Mutlisource/Applications/obsequi
llvm-svn: 18407
2004-12-01 18:27:03 +00:00
Chris Lattner
a94cee5109
Initial support for packed types, contributed by Morten Ofstad
...
llvm-svn: 18406
2004-12-01 17:14:28 +00:00
Chris Lattner
e4350af487
Remove unneeded cast.
...
llvm-svn: 18405
2004-12-01 17:13:05 +00:00
Chris Lattner
08d8b2ecaa
Get GEP's working with packed types. Contributed by Morten Ofstad!
...
llvm-svn: 18404
2004-12-01 17:12:16 +00:00
Chris Lattner
40da8e9f4d
Add line # info
...
llvm-svn: 18403
2004-12-01 17:10:36 +00:00
John Criswell
87dbffdd39
Fixed pathname to LLVM tools.
...
Thanks to Vladimir Merzliakov for finding this.
llvm-svn: 18402
2004-12-01 14:12:30 +00:00
Reid Spencer
9901891a3f
Be a little more explicit about how to configure LLVM with the --prefix
...
option so that permissions errors don't occur if the default, /usr/local,
is taken.
llvm-svn: 18401
2004-12-01 05:15:44 +00:00
Chris Lattner
ebf6266db1
Fix typeo, thanks to Duraid for pointing it out
...
llvm-svn: 18400
2004-12-01 04:16:29 +00:00
Reid Spencer
af68e19395
Revert version 1.39. It breaks the ordering of the library processing.
...
llvm-svn: 18399
2004-11-30 22:54:48 +00:00
Chris Lattner
0abd8109fa
Do not let GCC emit a warning for INT64_MIN
...
llvm-svn: 18398
2004-11-30 21:33:58 +00:00
Brian Gaeke
48f8e8b05a
Sparcs behave better if we use <alloca.h> and avoid messing with __builtin_alloca.
...
llvm-svn: 18397
2004-11-30 21:27:01 +00:00
Tanya Lattner
2c91540ff1
Added TCLSH var to site.exp.
...
llvm-svn: 18396
2004-11-30 19:13:06 +00:00
Chris Lattner
2f5ea378f4
Move this from the C test suite
...
llvm-svn: 18395
2004-11-30 18:25:12 +00:00
Chris Lattner
f2d4c61b81
This is a c++ test
...
llvm-svn: 18394
2004-11-30 18:25:05 +00:00
Chris Lattner
d053a8457e
Add back -e, which apparently works in sh's echo but not tcsh's, which does
...
not need it. Also, grep some output so we know that this command does something.
llvm-svn: 18393
2004-11-30 17:47:13 +00:00
Chris Lattner
cb751cf9e1
If TESTSUITE is set, we obviously want to run dejagnu
...
llvm-svn: 18392
2004-11-30 17:45:08 +00:00
Chris Lattner
1196903800
Fix the JIT when being used from llvm-db
...
llvm-svn: 18391
2004-11-30 17:41:49 +00:00
Chris Lattner
3972371166
do not pass -e into llvm-db as a command.
...
llvm-svn: 18390
2004-11-30 17:13:13 +00:00
Chris Lattner
d1c079e9a9
Put the output in the temporary location
...
llvm-svn: 18389
2004-11-30 17:12:00 +00:00
Chris Lattner
293d505c65
This is a cross platform fail, failing on freebsd as well
...
llvm-svn: 18388
2004-11-30 17:10:47 +00:00
Chris Lattner
23c9c1bb62
This pass is completely broken.
...
llvm-svn: 18387
2004-11-30 17:09:06 +00:00
Chris Lattner
d6020eabef
RevisionNum is read by error(), initialize it early.
...
llvm-svn: 18386
2004-11-30 16:58:18 +00:00
Chris Lattner
ef8c3ea2ff
This was fixed with the recent tester changes.
...
llvm-svn: 18385
2004-11-30 16:48:26 +00:00
Brian Gaeke
289f3d3cc4
Update list of failing benchmarks.
...
llvm-svn: 18384
2004-11-30 08:15:44 +00:00
Brian Gaeke
2d52bbf6eb
If we're about to emit something like:
...
%f0 = fmovs %f0
%f1 = fmovs %f1
then just delete the FpMOVD pseudo-instruction instead. Also, add
statistics and debug printouts.
llvm-svn: 18383
2004-11-30 08:15:15 +00:00