Chris Lattner
74d64c7d02
Actually return an error if something bad happens, don't just exit.
...
llvm-svn: 9119
2003-10-14 21:07:25 +00:00
Chris Lattner
6ad91d7166
minor cleanups
...
llvm-svn: 9118
2003-10-14 21:01:51 +00:00
Chris Lattner
5d068b78b7
The -mode option is no longer
...
llvm-svn: 9117
2003-10-14 20:58:07 +00:00
Chris Lattner
67cc196bf7
Fix minor formatting bug
...
llvm-svn: 9116
2003-10-14 20:55:56 +00:00
Chris Lattner
2ed0642a95
Eliminate the bugpoint -mode option, by making bugpoint automatically infer the root of all of your problems
...
llvm-svn: 9115
2003-10-14 20:52:55 +00:00
Chris Lattner
fdfe370406
Output a contorted sequence of instructions to make sure that we don't access
...
off the bottom of the stack. This fixes PR#41
llvm-svn: 9114
2003-10-14 19:09:05 +00:00
Chris Lattner
97c7a8ed1a
Disable the leaf function optimization, which is apparently not legal on
...
X86/linux. :( The problem is that a signal delivered while the function
is executing could clobber the functions stack. This is a partial fix
for PR41.
llvm-svn: 9113
2003-10-14 18:52:41 +00:00
Chris Lattner
4b9c23a19d
Fix bug in script
...
llvm-svn: 9110
2003-10-14 01:22:08 +00:00
Chris Lattner
b4778c73c9
Do not move variable sized allocations to the top of the caller, which might
...
break dominance relationships, and is otherwise bad. This fixes bug:
Inline/2003-10-13-AllocaDominanceProblem.ll. This also fixes miscompilation
of 3 176.gcc source files (reload1.c, global.c, flow.c)
llvm-svn: 9109
2003-10-14 01:11:07 +00:00
Chris Lattner
84b5eb206c
New testcase which the inliner breaks
...
llvm-svn: 9108
2003-10-14 01:04:12 +00:00
John Criswell
3104d83bdb
Added a link to the main page for LLVM.
...
Made the "Submitting a Bug" reference point to the web site, as we want people
using the latest and greatest bug reporting.
Fixed the indentation by assuming that tabs are 8 characters or less.
llvm-svn: 9107
2003-10-13 21:09:04 +00:00
Chris Lattner
6ca0b8738a
Unbreak code generator debug mode
...
llvm-svn: 9106
2003-10-13 21:04:26 +00:00
John Criswell
49a9b67858
Adding additional license information to these files.
...
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
Chris Lattner
08ca35b6d6
Do not allow fallthroughs in switch statements. This fixes PR37,
...
253.perlbmk, and test/Programs/SingleSource/UnitTests/2003-10-13-SwitchTest.c!
llvm-svn: 9101
2003-10-13 20:32:04 +00:00
Misha Brukman
292964c663
LLVM CVS repository has moved.
...
llvm-svn: 9099
2003-10-13 20:28:48 +00:00
Brian Gaeke
6855f03c56
Remove WordsEmitted statistic; there's already a non-backend-specific
...
jello statistic for this (just divide #-bytes-of-code-emitted by 4).
Rewrite head-of-file comment.
llvm-svn: 9098
2003-10-13 19:51:20 +00:00
Chris Lattner
abb3b38448
LLI no longer has -abort-on-exception
...
llvm-svn: 9097
2003-10-13 18:26:49 +00:00
John Criswell
8c8c891090
Removed items that are done or irrelevant.
...
Added a few new items.
llvm-svn: 9096
2003-10-13 18:26:44 +00:00
Chris Lattner
8260db9a69
Use the autoconf macro John wrote
...
llvm-svn: 9095
2003-10-13 17:13:53 +00:00
Chris Lattner
612cafef0a
Whoops, we inserted into the wrong set. What's up with the dead set anyway?
...
llvm-svn: 9094
2003-10-13 16:49:21 +00:00
Chris Lattner
951e7329e8
Use external df iterators to avoid revisiting blocks in functions with
...
multiple setjmp calls.
llvm-svn: 9093
2003-10-13 16:44:50 +00:00
Chris Lattner
a3244bbefd
Add missing default argument
...
llvm-svn: 9092
2003-10-13 16:44:30 +00:00
Chris Lattner
f5d946eced
Make use of "external" depth-first iterators to avoid revisiting nodes
...
multiple times. This reduces the time to construct post-dominance sets a LOT.
For example, optimizing perlbmk goes from taking 12.9894s to 1.4074s.
llvm-svn: 9091
2003-10-13 16:36:06 +00:00
Chris Lattner
514e18c061
add support for "external" depth first iterators, which store the 'visited' set
...
outside of the iterator itself.
llvm-svn: 9090
2003-10-13 16:34:26 +00:00
John Criswell
42859559f2
Added a macro and code that checks for the %a format string in sprintf().
...
llvm-svn: 9089
2003-10-13 16:22:01 +00:00
John Criswell
55a0c88c30
Fixed the name of a hyperlink.
...
llvm-svn: 9088
2003-10-13 16:19:30 +00:00
John Criswell
c41e7a81db
Removed information on common build problems. That is now documented in
...
the FAQ (FAQ.html).
llvm-svn: 9087
2003-10-13 16:16:25 +00:00
John Criswell
8af732029a
Fequently Asked Questions about LLVM. Mainly focuses on build problems, but
...
anything FAQ'ish should go here if it's not heavily documented elsewhere (like
the README.txt file or the Getting Started Guide).
llvm-svn: 9086
2003-10-13 16:13:06 +00:00
John Criswell
97735cf4af
Master README file that points to all other documentation.
...
llvm-svn: 9085
2003-10-13 15:59:28 +00:00
Chris Lattner
97b07c2096
Extricate the "reverse" support from the depth-first iterator. This is really
...
a crappy form of post-order traversal which really does not belong here. While
we are at it, improve documentation and use a vector instead of a stack.
This improves the post dominator analysis pass by ~5%, and probably also helps
other passes as well.
llvm-svn: 9084
2003-10-13 15:45:33 +00:00
Chris Lattner
d6d5651acf
Add operator= for type iterators to make them assignable
...
llvm-svn: 9083
2003-10-13 15:34:17 +00:00
Chris Lattner
78cab97abb
Remove explicit inline qualifiers when the implicit ones work just as well
...
llvm-svn: 9082
2003-10-13 15:30:59 +00:00
Chris Lattner
0c068c097a
Stop using "reverse depth first" order
...
llvm-svn: 9081
2003-10-13 15:21:58 +00:00
Chris Lattner
e6f4e07706
Oops, forgot to commit this before: standardize header comments
...
llvm-svn: 9080
2003-10-13 14:58:11 +00:00
Chris Lattner
aa78cc9e5d
Minor cleanups
...
llvm-svn: 9079
2003-10-13 14:57:53 +00:00
Chris Lattner
e859403772
Speed up TypesEqual by specializing it for all of the derived types, avoiding
...
a lot of virtual method dispatch overhead.
llvm-svn: 9078
2003-10-13 14:55:56 +00:00
Chris Lattner
a785563692
Avoid calling getTypeSlot more
...
llvm-svn: 9077
2003-10-13 14:34:59 +00:00
Chris Lattner
1dc3f3fdc0
Avoid creating lots of pointless opaque types, with short lifetimes
...
llvm-svn: 9076
2003-10-13 14:03:36 +00:00
Chris Lattner
c7bc3bb503
This is a header file, hear me roar
...
llvm-svn: 9075
2003-10-13 05:34:24 +00:00
Chris Lattner
ab16a659d7
* Remove extraneous #includes
...
* Fix a nasty initializer ordering bug. Any only-CFG passes which registered
themselves before the CFGOnlyAnalysis vector initialized got forgotten and
thus got invalidated and recomputed.
In particular, in my compiled version of gccas, the Loop information pass was
being recomputed unnecessarily.
llvm-svn: 9074
2003-10-13 05:33:01 +00:00
Chris Lattner
178957028b
Wrap code at 80 columns
...
llvm-svn: 9073
2003-10-13 05:04:27 +00:00
Chris Lattner
f0bf7cb739
This is a header file, thus it needs a -*-C++-*-
...
llvm-svn: 9072
2003-10-13 04:22:07 +00:00
Chris Lattner
44d2c3514a
Regularize header file comments
...
llvm-svn: 9071
2003-10-13 03:32:08 +00:00
Chris Lattner
c3ad6e0b1f
make the indvar obviously non-canonical
...
llvm-svn: 9070
2003-10-13 03:31:42 +00:00
Chris Lattner
7cce14bfbf
Regularize header file comment, eliminate using's
...
llvm-svn: 9069
2003-10-13 03:30:47 +00:00
Chris Lattner
3fe0b9646e
Add new op_erase method
...
llvm-svn: 9068
2003-10-13 03:29:26 +00:00
Chris Lattner
f7a60cd9fa
Minor cleanups
...
llvm-svn: 9067
2003-10-13 01:02:33 +00:00
Chris Lattner
56b8526083
Checkin an improvement contributed by Bill:
...
Only transform call sites in a setjmp'ing function which are reachable from
the setjmp. If the call dominates the setjmp (for example), the called
function cannot longjmp to the setjmp.
This dramatically reduces the number of invoke instructions created in some
large testcases.
llvm-svn: 9066
2003-10-13 00:57:16 +00:00
Chris Lattner
c4622a6955
Add support to the loop canonicalization pass to make it transform loops to
...
have a SINGLE backedge. This is useful to, for example, the -indvars pass.
This implements testcase LoopSimplify/single-backedge.ll and closes PR#34
llvm-svn: 9065
2003-10-13 00:37:13 +00:00
Chris Lattner
3e53700320
new testcase
...
llvm-svn: 9064
2003-10-12 22:26:42 +00:00