Chris Lattner
b660dfb79a
Remove usage of ConstantPointer
...
llvm-svn: 10051
2003-11-17 17:28:29 +00:00
Chris Lattner
31a03e3207
Be a bit more tolerant of broken code
...
llvm-svn: 10050
2003-11-17 01:17:04 +00:00
Chris Lattner
63dabbbf92
Fix copy-and-pasteo
...
llvm-svn: 10049
2003-11-17 01:07:58 +00:00
Brian Gaeke
6456cc0a39
Regenerated using autoconf-2.57.
...
llvm-svn: 10048
2003-11-17 00:31:43 +00:00
Brian Gaeke
b439de997b
Edit some comments slightly.
...
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).
llvm-svn: 10047
2003-11-17 00:30:48 +00:00
Brian Gaeke
4d8abd50af
add PR117
...
llvm-svn: 10046
2003-11-16 23:49:26 +00:00
Brian Gaeke
052a5a39a5
Document -disable-opt option that I added.
...
llvm-svn: 10045
2003-11-16 23:39:11 +00:00
Brian Gaeke
570e50fc30
Include Support/FileUtilities.h.
...
Print module identifier in DumpSymbolNamesFromModule().
In DumpSymbolNamesFromFile(), check whether it is an archive or a bytecode
file, and call the corresponding reader function (ParseBytecodeFile or
ReadArchiveFile).
Unconditionally set MultipleFiles for archives.
Fixes PR117.
llvm-svn: 10044
2003-11-16 23:34:13 +00:00
Brian Gaeke
e2e424701a
Implement skeletal support for __.SYMDEF (ranlib) sections in archives.
...
Correctly parse the Long Filename section of the archive.
When reading in archive members, set their ModuleIDs to
"ARCHIVENAME(MEMBERNAME)", as is traditional.
llvm-svn: 10043
2003-11-16 23:08:48 +00:00
Brian Gaeke
675cab8d52
When you hand WriteAsOperand a type, it now prints out its symbolic name.
...
llvm-svn: 10042
2003-11-16 23:08:27 +00:00
Brian Gaeke
5db96ead48
When failing a Verifier assertion, use WriteAsOperand to print out the
...
offending types and/or values.
llvm-svn: 10041
2003-11-16 23:07:42 +00:00
Brian Gaeke
2016376753
Add a -verify option to verify the results of gccld passes.
...
Add a -disable-opt option to turn off gccld optimization passes.
llvm-svn: 10040
2003-11-16 23:07:28 +00:00
Brian Gaeke
c65d049581
When we find a module we want, in an archive, in verbose mode,
...
print out the module's identifier (which should now contain the name
of both the archive and the module.)
Wrap some lines at 80 cols.
llvm-svn: 10039
2003-11-16 23:07:13 +00:00
Chris Lattner
21c40d8641
Don't print 'No predecessors!' on the entry block
...
llvm-svn: 10038
2003-11-16 22:59:57 +00:00
Chris Lattner
ca6f25286f
Bugz fixed
...
llvm-svn: 10037
2003-11-16 22:11:42 +00:00
Chris Lattner
7deb5ac1f4
There is no need to rely on LLI working for this test
...
llvm-svn: 10036
2003-11-16 22:07:45 +00:00
Chris Lattner
7164a8a7ea
ISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
...
storage duration that are local to the function containing the invocation of the
[...] setjmp macro that do not have volatile-qualified type and have been
changed between the setjmp invocation and longjmp call are indeterminate."
As such, we have to mark all variables in a function that uses 'invoke' as
volatile.
This fixes PR77
llvm-svn: 10035
2003-11-16 22:06:14 +00:00
Chris Lattner
206f382a19
Testcase for PR116
...
llvm-svn: 10034
2003-11-16 21:47:01 +00:00
Chris Lattner
2fb980e00a
add adce bug
...
llvm-svn: 10033
2003-11-16 21:42:48 +00:00
Chris Lattner
04d122be8f
Fix PR116
...
llvm-svn: 10032
2003-11-16 21:39:27 +00:00
Chris Lattner
1d057a98fc
New testcase, for PR 115
...
llvm-svn: 10031
2003-11-16 20:47:05 +00:00
Chris Lattner
32412e3b66
Bugz
...
llvm-svn: 10030
2003-11-16 20:25:24 +00:00
Chris Lattner
9995768f47
Fixes for PR114: Thanks to Reid Spencer!
...
llvm-svn: 10029
2003-11-16 20:21:15 +00:00
Brian Gaeke
3d3c0a3db1
Regenerated with autoconf-2.57.
...
llvm-svn: 10025
2003-11-16 18:38:14 +00:00
Brian Gaeke
736942d3b2
Only default to the llvm-gcc in ~lattner if that directory exists.
...
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.
llvm-svn: 10024
2003-11-16 18:37:46 +00:00
Brian Gaeke
da01c6f5c9
As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
...
reasonable, instead, print out a "LOUD warning".
llvm-svn: 10023
2003-11-16 06:51:53 +00:00
Misha Brukman
074ae1b76f
Stylesheets: they do a website good!
...
llvm-svn: 10003
2003-11-14 17:34:38 +00:00
Chris Lattner
7485243e7a
Implement a small optimization to handling of GEP's that are equivalent to casts.
...
This results in substantially reduced collapsing for some testcases
llvm-svn: 10002
2003-11-14 17:09:46 +00:00
Chris Lattner
ccac6e36fb
I can't believe the incompetence of the people I have to deal with around here.
...
These fools don't even wrap code at 80 columns.
Oh wait, _I_ wrote that. That explains a lot!!
llvm-svn: 9999
2003-11-14 16:34:25 +00:00
Chris Lattner
e4214200a0
Bugz come in, bugs go out
...
llvm-svn: 9995
2003-11-14 06:42:01 +00:00
Chris Lattner
0ba2cec700
Fix PR 110: the constant folding code assumes that if something is not a
...
constant expression, but is of (for example) ubyte type, then it is a
ConstantUInt. This was not true for placeholders.
llvm-svn: 9994
2003-11-14 06:38:46 +00:00
Chris Lattner
5bc662bc0a
This is obviously illegal C++ code, but was apparently accepted by 3.3
...
bork
llvm-svn: 9993
2003-11-14 06:03:05 +00:00
Misha Brukman
c7ae70cc89
Give props to Reid Spencer for the namespacification work.
...
llvm-svn: 9992
2003-11-14 05:37:10 +00:00
Misha Brukman
dca4cf2820
Brian implemented the vaarg instruction in the interpreter.
...
llvm-svn: 9989
2003-11-14 03:30:43 +00:00
Chris Lattner
34b44fd809
Expose the verifier to opt
...
llvm-svn: 9984
2003-11-13 19:47:29 +00:00
Brian Gaeke
9e17a77578
Removed link from the docs index too.
...
llvm-svn: 9983
2003-11-13 19:32:14 +00:00
Chris Lattner
b6b3b55e95
As the comments indicate, this is a temporary, repulsive, hack
...
llvm-svn: 9982
2003-11-13 19:26:54 +00:00
Chris Lattner
fe4e3f7108
Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
...
llvm-svn: 9981
2003-11-13 19:17:02 +00:00
Chris Lattner
e7aa54f736
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
...
llvm-svn: 9980
2003-11-13 19:05:15 +00:00
Chris Lattner
ca8f3561c2
Trying to get the dsgraph for an external function is bad for DSA's health
...
llvm-svn: 9979
2003-11-13 18:48:11 +00:00
Misha Brukman
284a9660f4
Fixed word order.
...
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner
e09331e863
NEW testcase for PR84 :(
...
llvm-svn: 9967
2003-11-13 06:19:56 +00:00
Brian Gaeke
d966bbe9bf
Change LLI's internal representation of va_list to a pointer to the next
...
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)
llvm-svn: 9965
2003-11-13 06:06:01 +00:00
Chris Lattner
88bf4d25a0
Implement the CompleteBU pass
...
llvm-svn: 9964
2003-11-13 05:05:41 +00:00
Chris Lattner
6a0a73554a
Add methods for implementation
...
llvm-svn: 9963
2003-11-13 05:05:34 +00:00
Chris Lattner
547205d4bc
Minor code cleanup
...
llvm-svn: 9962
2003-11-13 05:04:19 +00:00
Chris Lattner
b3ddf91dd5
Remove needless dependence on boost
...
llvm-svn: 9961
2003-11-13 04:11:30 +00:00
Chris Lattner
8508dec429
Disable integer tracking by default
...
llvm-svn: 9960
2003-11-13 03:10:49 +00:00
Chris Lattner
d7284a85b5
Add namespace qualifier
...
llvm-svn: 9959
2003-11-13 02:30:22 +00:00
Chris Lattner
d2ce57f9d8
Minor cleanups
...
llvm-svn: 9958
2003-11-13 02:01:41 +00:00