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
Reid Spencer
45597809e6
Add a check for the tclsh program needed by dejagnu. This can have weird
...
names that have version numbers in it so this macro, DJ_AC_PATH_TCLSH will
make the necessary checks. The makefile variable TCLSH is set to the path
found.
llvm-svn: 18382
2004-11-30 08:11:54 +00:00
Chris Lattner
c58bc8d96e
Squelch warning
...
llvm-svn: 18381
2004-11-30 07:47:34 +00:00
Chris Lattner
8e80452e56
This passes on darwin now
...
llvm-svn: 18380
2004-11-30 07:38:41 +00:00
Chris Lattner
2231d21dad
Fix several bugs in 'op x, imm' handling. Foremost is that we now emit
...
addi r3, r3, -1
instead of
addi r3, r3, 1
for 'sub int X, 1'.
Secondarily, this fixes several cases where we could crash given an unsigned
constant. And fixes a couple of minor missed optimization cases, such as
xor X, ~0U -> not X
llvm-svn: 18379
2004-11-30 07:30:20 +00:00
Reid Spencer
b392dd6861
Up the compression threshold to 64K so we avoid it for all but the largest
...
bytecode files. This should help linking substantially.
llvm-svn: 18378
2004-11-30 07:13:34 +00:00
Chris Lattner
537e5a6b50
Fix test/Regression/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
...
This only fails on darwin or on X86 under valgrind.
llvm-svn: 18377
2004-11-30 07:01:15 +00:00
Chris Lattner
1e093bfb2b
Fix CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
...
llvm-svn: 18376
2004-11-30 06:40:04 +00:00
Chris Lattner
f920b76d67
New testcase that crashes the PPC BE
...
llvm-svn: 18375
2004-11-30 06:39:45 +00:00
Chris Lattner
629965fbe0
Fix test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
...
llvm-svn: 18374
2004-11-30 06:36:11 +00:00
Chris Lattner
882a41720f
New testcase
...
llvm-svn: 18373
2004-11-30 06:35:52 +00:00
Tanya Lattner
cfb870436f
Adding timeout for a test.
...
llvm-svn: 18372
2004-11-30 06:29:45 +00:00
Chris Lattner
23a2a6e5d3
Fix test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll
...
llvm-svn: 18371
2004-11-30 06:29:10 +00:00
Chris Lattner
3e48dcf7b0
New testcase that crashes the PPC backend
...
llvm-svn: 18370
2004-11-30 06:28:53 +00:00
Chris Lattner
25b93fea2a
Alkis noticed that this variable is dead. Thanks!
...
llvm-svn: 18369
2004-11-30 04:01:44 +00:00
Chris Lattner
e561ef0261
Add method
...
llvm-svn: 18368
2004-11-30 02:51:53 +00:00
Chris Lattner
afdd71c622
New testcase for simplifycfg
...
llvm-svn: 18367
2004-11-30 00:31:16 +00:00
Chris Lattner
b237a19a78
If we have something like this:
...
if (x) {
code
...
} else {
code
...
}
Turn it into:
code
if (x) {
...
} else {
...
}
This reduces code size and in some common cases allows us to completely
eliminate the conditional. This turns several if/then/else blocks in loops
into straightline code in 179.art, turning the loops into single basic blocks
(good for modsched even!).
Maybe now brg will leave me alone ;-)
llvm-svn: 18366
2004-11-30 00:29:14 +00:00
Chris Lattner
679cc8deab
Remove extraneous namespacification. In particular, don't define llvm::llvm::createInternalGlobalMapperPass
...
llvm-svn: 18365
2004-11-30 00:22:59 +00:00
John Criswell
1988b149d9
Fix a typo.
...
Corrected a potential grammary issue.
llvm-svn: 18364
2004-11-29 21:46:29 +00:00
Chris Lattner
ba782edfb7
Allow hoisting loads of globals and alloca's in conditionals.
...
llvm-svn: 18363
2004-11-29 21:26:12 +00:00
Chris Lattner
82b69793f8
Make built bytecode libraries depend on gccas/gccld as appropriate. This
...
should fix the stale runtime libraries problem.
llvm-svn: 18361
2004-11-29 19:47:58 +00:00
Reid Spencer
9d580e5af6
Fix two bugs:
...
1. Nothing should happen on "make all". Doc generation is quick, but we
don't want to do it unless we're installing.
2. Correct a dependency for the *.ps files .. didn't notice this before
because of cruft in my directory. It failed on a clean build.
llvm-svn: 18359
2004-11-29 14:46:29 +00:00
Reid Spencer
e978501448
Functionality moved to portable lib/System/DynamicLibrary.cpp
...
implementation
llvm-svn: 18358
2004-11-29 14:11:41 +00:00
Reid Spencer
74b17227a5
Use System/DynamicLibrary instead of Support/DynamicLinker
...
llvm-svn: 18357
2004-11-29 14:11:29 +00:00
Reid Spencer
e4efcbf807
Use System/DynamicLibrary instead of Support/DynamicLinker to implement.
...
llvm-svn: 18356
2004-11-29 14:07:46 +00:00
Reid Spencer
66b4a250cf
Implement two new functions: LoadLibraryPermanently and
...
SearchForAddressOfSymbol.
llvm-svn: 18355
2004-11-29 13:33:28 +00:00
Reid Spencer
fea77c07f6
Add in some methods for use by the JIT. LoadLibraryPermanently brings the
...
library into the address space permanently. SearchForAddressOfSymbol looks
in all previously permanently loaded libraries and any currently open
libraries for a symbol, instead of just one library like GetAddressOfSymbol
llvm-svn: 18354
2004-11-29 13:27:56 +00:00
Reid Spencer
e76c012f3a
Shared library extension is now in LTDL_SHLIB_EXT
...
llvm-svn: 18353
2004-11-29 12:40:21 +00:00
Reid Spencer
c0b0d036b3
We just use ltdl's implementation for this abstraction now. Its portable to
...
more platforms than LLVM supports.
llvm-svn: 18352
2004-11-29 12:39:10 +00:00
Reid Spencer
e4b484789d
Allow reconfig from any directory, not just the top build directory, by
...
changing directory first. Also make sure that we don't attempt to run
config.status if the recheck didn't work.
llvm-svn: 18351
2004-11-29 12:37:44 +00:00
Reid Spencer
71ebca79cb
Changes resulting from AC_LIB_LTDL usage.
...
llvm-svn: 18350
2004-11-29 12:36:16 +00:00
Reid Spencer
a4b17dc498
* Implement embedding libltdl into LLVM which required some rearranging.
...
llvm-svn: 18349
2004-11-29 12:29:58 +00:00
Reid Spencer
abfada9855
* Update instructions about upgrading libtool
...
* Add instructions about upgrading autoconf
llvm-svn: 18348
2004-11-29 12:28:47 +00:00
Reid Spencer
dba402cd23
Don't include ltdl.h any more. Its nested in lib/System now.
...
llvm-svn: 18347
2004-11-29 12:12:11 +00:00
Reid Spencer
e498308615
Mods for compilation with llvm.
...
llvm-svn: 18346
2004-11-29 12:04:27 +00:00
Reid Spencer
42ceb789ad
Original version of ltdl.h from libtool 1.5.10
...
llvm-svn: 18345
2004-11-29 12:02:48 +00:00
Reid Spencer
93069daab2
Original version of ltdl.c from libtool 1.5.10
...
llvm-svn: 18344
2004-11-29 12:02:25 +00:00
Reid Spencer
2e8d329bdf
Converted with autoupdate for autoconf 2.50 -> 2.59 differences.
...
llvm-svn: 18343
2004-11-29 11:27:12 +00:00
Reid Spencer
fe2de15061
This file contains macros that allow us to incorporate the ltdl source into
...
our own library so that it is magically hidden and we don't have to depend
on linking with -lltdl option.
llvm-svn: 18342
2004-11-29 10:56:45 +00:00
Reid Spencer
9e369115fc
Implement the default constructor which causes the current program to be
...
opened as if it was a dynamic library so its symbols can be searched too.
llvm-svn: 18341
2004-11-29 10:39:46 +00:00
Reid Spencer
19f0bd4d59
Make the default constructor cause the program's symbols to be loaded as
...
if it was a dynamic library.
llvm-svn: 18340
2004-11-29 10:38:54 +00:00
Reid Spencer
df47d9540f
Make it HTML 4.01 Strict compliant.
...
llvm-svn: 18339
2004-11-29 07:47:16 +00:00