Commit Graph

9237 Commits

Author SHA1 Message Date
John Criswell
3dad9a63e8 Added the new GCC front end section to the table of contents.
llvm-svn: 10068
2003-11-18 16:08:49 +00:00
John Criswell
5baa0c6db4 Added information on the GCC front end.
llvm-svn: 10067
2003-11-18 16:05:23 +00:00
Brian Gaeke
b62fb0d7ef Only use -Wl,-R. if HAVE_LINK_R.
llvm-svn: 10066
2003-11-18 06:31:17 +00:00
Chris Lattner
cc416eaa60 Add new bug fixed in the CFE
llvm-svn: 10065
2003-11-18 06:25:05 +00:00
Brian Gaeke
66b0271960 Regenerated using autoheader-2.57
llvm-svn: 10064
2003-11-18 06:21:24 +00:00
Brian Gaeke
3eccfbd90f Regenerated using autoconf-2.57
llvm-svn: 10063
2003-11-18 06:20:41 +00:00
Brian Gaeke
233a71f1a9 Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
llvm-svn: 10062
2003-11-18 06:19:27 +00:00
Brian Gaeke
c5b4c8a319 Update to reflect the fact that llvm-nm can read archives now.
llvm-svn: 10061
2003-11-18 06:18:09 +00:00
Misha Brukman
0b639e381c Emit the MachineConstantPool constants in one contiguous memory `pool'.
llvm-svn: 10060
2003-11-17 20:40:07 +00:00
Misha Brukman
023ada1793 * Order #includes as per style guide
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent

llvm-svn: 10059
2003-11-17 20:37:02 +00:00
Chris Lattner
7c9bfad92c Implement == and != correctly. Before they would incorrectly return !=
for some constant exprs when they could really be the same value

llvm-svn: 10058
2003-11-17 20:19:35 +00:00
Chris Lattner
1f762c7571 The ConstantPointer class is now gone.
llvm-svn: 10057
2003-11-17 19:47:21 +00:00
John Criswell
76cc76b529 Added a check for the -R linker option.
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Misha Brukman
4eedd560a6 This file was somehow missing a top-level comment line.
llvm-svn: 10055
2003-11-17 19:35:17 +00:00
Chris Lattner
3bbeca259c No REALLY, get rid of ConstantPointer references
llvm-svn: 10054
2003-11-17 19:21:04 +00:00
Chris Lattner
dc40851a23 Eliminate use of the ConstantPointer class
llvm-svn: 10053
2003-11-17 19:19:32 +00:00
Chris Lattner
daee0fa51f Constant folding shalt not be built on annotations
llvm-svn: 10052
2003-11-17 19:05:17 +00:00
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