1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

7858 Commits

Author SHA1 Message Date
Chris Lattner
c66f223e5a Initial checkin of the Setjmp/Longjmp lowering/transformation pass,
contributed by the masterful Bill Wendling!

llvm-svn: 8520
2003-09-15 04:56:27 +00:00
Chris Lattner
f3cac3df12 Ugh, a bug fix needed because of the bug in the CallGraph code
llvm-svn: 8519
2003-09-15 04:52:00 +00:00
Chris Lattner
98d4e5dffc These two conditions are not exclusive!!
llvm-svn: 8518
2003-09-15 04:35:16 +00:00
Chris Lattner
f3c318737f Make the print output more useful
llvm-svn: 8517
2003-09-15 04:29:37 +00:00
Chris Lattner
6075013b55 Fix bug: PruneEH/2003-09-14-ExternalCall.llx
llvm-svn: 8516
2003-09-15 02:22:50 +00:00
Chris Lattner
20ddc63c0b New testcase
llvm-svn: 8515
2003-09-15 02:22:35 +00:00
Chris Lattner
7a55e0b56d Fix bug: Inline/2003-09-14-InlineValue.ll
llvm-svn: 8514
2003-09-15 02:10:16 +00:00
Chris Lattner
7a5f05d341 New testcase
llvm-svn: 8513
2003-09-15 02:07:37 +00:00
Chris Lattner
7713b6e414 Wrap long lines at 80 cols
llvm-svn: 8512
2003-09-15 01:12:04 +00:00
Chris Lattner
12fe9440cd Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file!
llvm-svn: 8511
2003-09-15 01:07:32 +00:00
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