Chris Lattner
64791df910
Fix a spello Misha made while fixing one of my appostrifications
...
llvm-svn: 8510
2003-09-15 00:33:20 +00:00
Vikram S. Adve
73370cb070
Update makellvm to work with the brave new world of separate obj-root trees.
...
With these changes, you can still run makellvm directly from your source tree
as follows:
% makellvm [toolname] ## looks for obj-root in default places (see below)
or
% makellvm -obj obj-root [toolname] ## specify obj-root explicitly.
With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.
llvm-svn: 8509
2003-09-14 23:44:31 +00:00
Chris Lattner
038d15f8c3
Fix the nightly tester now that olden has been moved
...
llvm-svn: 8508
2003-09-14 06:00:49 +00:00
Chris Lattner
fdb3c00ac9
manually add the llvm-ar stuff. this should be regenerated
...
llvm-svn: 8507
2003-09-13 03:29:53 +00:00
Tanya Lattner
5ff76aa271
Added llvm-ar to the Makefile
...
llvm-svn: 8506
2003-09-13 03:23:46 +00:00
Tanya Lattner
6744cea856
Fixed warning.
...
llvm-svn: 8505
2003-09-13 03:18:56 +00:00
Chris Lattner
c0c084e44a
Configure the llvm-ar directory
...
llvm-svn: 8504
2003-09-13 02:35:56 +00:00
Misha Brukman
0eb15a2ced
Bugpoint has the ability of generating a plethora of core files, so to
...
avoid filling up the disk, set the max core file size to 0.
llvm-svn: 8503
2003-09-12 20:42:57 +00:00
Chris Lattner
3a26b0d3be
Make sure to cannonicalize loops before running indvar simplify
...
llvm-svn: 8502
2003-09-12 16:45:01 +00:00
Chris Lattner
fcfe86128b
New testcase, this should be simplified
...
llvm-svn: 8501
2003-09-12 16:42:16 +00:00
John Criswell
3b696a256e
Caught a few misses in the last modification.
...
llvm-svn: 8500
2003-09-12 16:36:17 +00:00
John Criswell
f7cedd4187
Updated for the re-organization of llvm/test/Programs/MultiSource.
...
llvm-svn: 8499
2003-09-12 16:31:43 +00:00
Chris Lattner
f277240919
Do not return success after checking only the FIRST USE of a gep instruction.
...
Instead, check all uses.
This fixes bug: ScalarRepl/2003-09-12-IncorrectPromote.ll
This also fixes the miscompilation of Ptrdist/bc
llvm-svn: 8493
2003-09-12 16:02:12 +00:00
John Criswell
0ff2550154
Initial go at documentation for llc.
...
Pretty crufty.
llvm-svn: 8492
2003-09-12 15:46:24 +00:00
Chris Lattner
75b9471d19
New testcase, bug distilled from bc
...
llvm-svn: 8491
2003-09-12 15:44:01 +00:00
Chris Lattner
b12390cc41
Minor optimization efficiency improvement:
...
- Run mem2reg promotion first
- Only rerun passes if the previous thing changed something
llvm-svn: 8490
2003-09-12 15:36:03 +00:00
Misha Brukman
629711a7c3
Fixed spelling and grammar.
...
llvm-svn: 8489
2003-09-11 22:34:13 +00:00
Chris Lattner
9036a399f1
Simplify code
...
Implement InstCombine/mul.ll:test9
llvm-svn: 8488
2003-09-11 22:24:54 +00:00
Chris Lattner
85db468e80
New testcase
...
llvm-svn: 8487
2003-09-11 22:23:48 +00:00
John Criswell
6ef0328039
Added the SetjmpLongjmp Makefile.
...
llvm-svn: 8486
2003-09-11 20:53:48 +00:00
John Criswell
eb37e4c0f0
Modified the footer to be a link to the LLVM web page.
...
Organized the commands into three distinct groups on the main page.
Fixed the hyperlinks in the main page.
Removed as and dis; they will not exist with those names by Release 1.
llvm-svn: 8485
2003-09-11 20:23:52 +00:00
John Criswell
a57a143560
Adding a skeleton for the LLVM Command Guide.
...
Hopefully the group as a whole will update this into a real guide.
llvm-svn: 8483
2003-09-11 19:58:03 +00:00
Misha Brukman
b9a4ddbfc5
Fixed spelling and grammar.
...
llvm-svn: 8478
2003-09-11 18:14:24 +00:00
John Criswell
59354503b5
Fixed SPEC so that it would run correctly with the new autoconf-style object
...
directory.
Cleaned up the Makefile so that it uses VPATH to find source files.
llvm-svn: 8477
2003-09-11 18:04:30 +00:00
John Criswell
75616733fa
Fixed SPEC so that it would run correctly with the new autoconf-style object
...
directory.
Added Makefile.spec to the list of files to copy to the object directory.
llvm-svn: 8476
2003-09-11 18:04:00 +00:00
John Criswell
fd9221eff3
Fixed SPEC so that it would run correctly with the new autoconf-style object
...
directory.
Added Makefile.spec to the list of files to copy to the object directory.
Moved the configuration of $SourceDir to Makefile.config and corrected the
conditional that surrounds it. This allows SPEC to reset it and get the correct
VPATH.
llvm-svn: 8475
2003-09-11 18:03:50 +00:00
Misha Brukman
ddbf126a18
Apostrophes are only used for possession and quoting.
...
llvm-svn: 8473
2003-09-11 16:58:31 +00:00
Chris Lattner
427bf36a96
scalarrepl now includes mem2reg
...
llvm-svn: 8472
2003-09-11 16:46:10 +00:00
Chris Lattner
8a901c4d27
Integrate functionality of the mem2reg pass directly into this pass to make
...
the combination more effective
llvm-svn: 8471
2003-09-11 16:45:55 +00:00
Chris Lattner
1b50ec752d
Move the -indvars pass much later to where it is more likely to do good stuff
...
llvm-svn: 8470
2003-09-11 16:34:07 +00:00
Chris Lattner
3d39abeeb7
Renamed DominatorTree::Node::getNode() -> getBlock()
...
llvm-svn: 8469
2003-09-11 16:26:13 +00:00
Chris Lattner
27fcbcd3a3
Get rid of the whole "Node2" business, rename getNode() ->getBlock() to
...
be more descriptive
llvm-svn: 8468
2003-09-11 16:25:06 +00:00
Misha Brukman
d8279c4406
Spell `definite' correctly.
...
llvm-svn: 8467
2003-09-11 15:32:37 +00:00
Misha Brukman
6c4ffae6a5
Spell `definitely' correctly.
...
llvm-svn: 8466
2003-09-11 15:31:17 +00:00
John Criswell
1f114e5ead
Removed the aposthrophes endings and the elipses suffixes from build output.
...
This makes the output more consistent, and I just find aposthrophes annoying.
:)
llvm-svn: 8465
2003-09-11 15:15:53 +00:00
Brian Gaeke
069e2d385a
Check in the fix I meant to apply here, but mistakenly applied to
...
tools/extract instead..... heh
llvm-svn: 8464
2003-09-10 21:11:42 +00:00
Misha Brukman
262290ec19
* Move include files from middle of file to the top where they belong, moving
...
the #define up there too
* Since we're including system headers, use the ones in include/llvm/Config
* While we're here, use the canonical LLVM header ordering algorithm
llvm-svn: 8463
2003-09-10 20:52:05 +00:00
Chris Lattner
b859bf2fb5
Unwind instructions are intrinsically alive, just like returns
...
llvm-svn: 8462
2003-09-10 20:38:14 +00:00
Chris Lattner
ebf6d5c622
Rework dominator interfaces to handle changes in the post-dominance
...
construction. Now there may be multiple root blocks, and null is a
special node used to mark the "virtual" exit node of a CFG.
llvm-svn: 8461
2003-09-10 20:37:51 +00:00
Chris Lattner
9d9fd138dc
Rework post dominator information so that we do not have to
...
unify all exit nodes of a function to compute post-dominance information.
This does not work with functions that have both unwind and return nodes,
because we cannot unify these blocks. The new implementation is better
anyway. :)
llvm-svn: 8460
2003-09-10 20:37:08 +00:00
Chris Lattner
e7c33c0f65
Rework dominator and post dominator information so that we do not have to
...
unify all exit nodes of a function to compute post-dominance information.
This does not work with functions that have both unwind and return nodes,
because we cannot unify these blocks. The new implementation is better
anyway. :)
llvm-svn: 8459
2003-09-10 20:36:51 +00:00
Chris Lattner
0d124f6067
Update for new UnifyFunction... API
...
Remove using decl
llvm-svn: 8458
2003-09-10 20:35:33 +00:00
Chris Lattner
3e9d3081fc
Remove #include
...
llvm-svn: 8457
2003-09-10 20:35:21 +00:00
Chris Lattner
ee577bdc08
Expand the pass to unify all of the unwind blocks as well
...
llvm-svn: 8456
2003-09-10 20:34:51 +00:00
Chris Lattner
f6bd477804
Remove a bunch of warnings from the CBE generated C code
...
llvm-svn: 8455
2003-09-10 20:12:09 +00:00
Chris Lattner
49d7564882
"the one true solution for compatibility with GCC 3.3+"
...
... or so I hope
llvm-svn: 8454
2003-09-10 20:08:00 +00:00
Chris Lattner
5468c196f3
Be a little more specific about what is begin generated. Only print
...
command line if VERBOSE=1
llvm-svn: 8453
2003-09-10 19:52:54 +00:00
Chris Lattner
f9db4af8bf
Only emit inter-field-padding if the amount of padding is != 0
...
llvm-svn: 8452
2003-09-10 19:52:24 +00:00
Chris Lattner
bb9c377e56
Clean up header, remove extra #include
...
llvm-svn: 8451
2003-09-10 19:42:51 +00:00
Chris Lattner
b0ff60d540
Avoid dumping runtime library bytecode files into lib/Bytecode if building
...
into the source directory
llvm-svn: 8450
2003-09-10 19:37:51 +00:00