Misha Brukman [Mon, 15 Sep 2003 20:02:53 +0000 (20:02 +0000)]
Renamed `as' => `llvm-as', `dis' => `llvm-dis'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8544
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 19:22:36 +0000 (19:22 +0000)]
Fix building outside the srcdir, again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8543
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 19:20:11 +0000 (19:20 +0000)]
Fix building into a different obj directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8542
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 15 Sep 2003 18:34:34 +0000 (18:34 +0000)]
`link' is being renamed to `llvm-link'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8541
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 15 Sep 2003 17:19:42 +0000 (17:19 +0000)]
Modified the checks slightly so that one can re-configure LLVM without
having to do a "make distclean" when building in the source directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8540
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 15 Sep 2003 17:04:06 +0000 (17:04 +0000)]
Added code that verifies that the source directory has not been configured
already. This should help prevent strange errors from happening, but will
make re-configuring the source directory more difficult when it is shared with
the object directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8539
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 16:47:12 +0000 (16:47 +0000)]
Fix problems with programs that prototype printf to something unusual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8538
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:47:40 +0000 (15:47 +0000)]
Do not segfault when the post-dominator tree is empty (ie, there are no return
or unwind instructions in the function)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8537
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:29:11 +0000 (15:29 +0000)]
new testcase that crashes opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8536
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:07:37 +0000 (15:07 +0000)]
Whoops, remove makefile too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8533
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:07:22 +0000 (15:07 +0000)]
Remove dead library, it is now folded into crtend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8532
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:06:54 +0000 (15:06 +0000)]
Allow specifying a file with symbols to export
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8531
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 15:06:39 +0000 (15:06 +0000)]
Move the exception handling runtime stuff into this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8530
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 15 Sep 2003 14:45:00 +0000 (14:45 +0000)]
Stop building `as' and `dis' as they have been removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8529
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 15 Sep 2003 14:44:22 +0000 (14:44 +0000)]
`dis' is no longer an LLVM tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8528
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 15 Sep 2003 14:44:05 +0000 (14:44 +0000)]
`as' is no longer an LLVM tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8527
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 15 Sep 2003 14:25:08 +0000 (14:25 +0000)]
Re-generated for recent changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8526
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 15 Sep 2003 11:18:36 +0000 (11:18 +0000)]
Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8525
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 05:43:05 +0000 (05:43 +0000)]
Minor cleanups, give credit, remove code that should not be necessary, and
was a "major hack" :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8524
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 15 Sep 2003 05:28:42 +0000 (05:28 +0000)]
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8523
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 05:05:23 +0000 (05:05 +0000)]
Add prototype for the lowersetjmp pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8522
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 04:56:44 +0000 (04:56 +0000)]
Enable the setjmp/longjmp lowering pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8521
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 04:56:27 +0000 (04:56 +0000)]
Initial checkin of the Setjmp/Longjmp lowering/transformation pass,
contributed by the masterful Bill Wendling!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8520
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 04:52:00 +0000 (04:52 +0000)]
Ugh, a bug fix needed because of the bug in the CallGraph code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8519
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 04:35:16 +0000 (04:35 +0000)]
These two conditions are not exclusive!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8518
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 04:29:37 +0000 (04:29 +0000)]
Make the print output more useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8517
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 02:22:50 +0000 (02:22 +0000)]
Fix bug: PruneEH/2003-09-14-ExternalCall.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8516
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 02:22:35 +0000 (02:22 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8515
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 02:10:16 +0000 (02:10 +0000)]
Fix bug: Inline/2003-09-14-InlineValue.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8514
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 02:07:37 +0000 (02:07 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8513
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 01:12:04 +0000 (01:12 +0000)]
Wrap long lines at 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8512
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 01:07:32 +0000 (01:07 +0000)]
Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8511
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 15 Sep 2003 00:33:20 +0000 (00:33 +0000)]
Fix a spello Misha made while fixing one of my appostrifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8510
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 14 Sep 2003 23:44:31 +0000 (23:44 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8509
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 14 Sep 2003 06:00:49 +0000 (06:00 +0000)]
Fix the nightly tester now that olden has been moved
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8508
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 13 Sep 2003 03:29:53 +0000 (03:29 +0000)]
manually add the llvm-ar stuff. this should be regenerated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8507
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 13 Sep 2003 03:23:46 +0000 (03:23 +0000)]
Added llvm-ar to the Makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8506
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 13 Sep 2003 03:18:56 +0000 (03:18 +0000)]
Fixed warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8505
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 13 Sep 2003 02:35:56 +0000 (02:35 +0000)]
Configure the llvm-ar directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8504
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 12 Sep 2003 20:42:57 +0000 (20:42 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8503
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 12 Sep 2003 16:45:01 +0000 (16:45 +0000)]
Make sure to cannonicalize loops before running indvar simplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8502
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 12 Sep 2003 16:42:16 +0000 (16:42 +0000)]
New testcase, this should be simplified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8501
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 12 Sep 2003 16:36:17 +0000 (16:36 +0000)]
Caught a few misses in the last modification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8500
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 12 Sep 2003 16:31:43 +0000 (16:31 +0000)]
Updated for the re-organization of llvm/test/Programs/MultiSource.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8499
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 12 Sep 2003 16:02:12 +0000 (16:02 +0000)]
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8493
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 12 Sep 2003 15:46:24 +0000 (15:46 +0000)]
Initial go at documentation for llc.
Pretty crufty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8492
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 12 Sep 2003 15:44:01 +0000 (15:44 +0000)]
New testcase, bug distilled from bc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8491
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 12 Sep 2003 15:36:03 +0000 (15:36 +0000)]
Minor optimization efficiency improvement:
- Run mem2reg promotion first
- Only rerun passes if the previous thing changed something
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8490
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 11 Sep 2003 22:34:13 +0000 (22:34 +0000)]
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8489
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 22:24:54 +0000 (22:24 +0000)]
Simplify code
Implement InstCombine/mul.ll:test9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8488
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 22:23:48 +0000 (22:23 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8487
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 20:53:48 +0000 (20:53 +0000)]
Added the SetjmpLongjmp Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8486
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 20:23:52 +0000 (20:23 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8485
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 19:58:03 +0000 (19:58 +0000)]
Adding a skeleton for the LLVM Command Guide.
Hopefully the group as a whole will update this into a real guide.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8483
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 11 Sep 2003 18:14:24 +0000 (18:14 +0000)]
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8478
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 18:04:30 +0000 (18:04 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8477
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 18:04:00 +0000 (18:04 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8476
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 18:03:50 +0000 (18:03 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8475
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 11 Sep 2003 16:58:31 +0000 (16:58 +0000)]
Apostrophes are only used for possession and quoting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8473
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 16:46:10 +0000 (16:46 +0000)]
scalarrepl now includes mem2reg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8472
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 16:45:55 +0000 (16:45 +0000)]
Integrate functionality of the mem2reg pass directly into this pass to make
the combination more effective
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8471
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 16:34:07 +0000 (16:34 +0000)]
Move the -indvars pass much later to where it is more likely to do good stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8470
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 16:26:13 +0000 (16:26 +0000)]
Renamed DominatorTree::Node::getNode() -> getBlock()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8469
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 11 Sep 2003 16:25:06 +0000 (16:25 +0000)]
Get rid of the whole "Node2" business, rename getNode() ->getBlock() to
be more descriptive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8468
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 11 Sep 2003 15:32:37 +0000 (15:32 +0000)]
Spell `definite' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8467
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 11 Sep 2003 15:31:17 +0000 (15:31 +0000)]
Spell `definitely' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8466
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 11 Sep 2003 15:15:53 +0000 (15:15 +0000)]
Removed the aposthrophes endings and the elipses suffixes from build output.
This makes the output more consistent, and I just find aposthrophes annoying.
:)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8465
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 10 Sep 2003 21:11:42 +0000 (21:11 +0000)]
Check in the fix I meant to apply here, but mistakenly applied to
tools/extract instead..... heh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8464
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 10 Sep 2003 20:52:05 +0000 (20:52 +0000)]
* 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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8463
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:38:14 +0000 (20:38 +0000)]
Unwind instructions are intrinsically alive, just like returns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8462
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:37:51 +0000 (20:37 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8461
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:37:08 +0000 (20:37 +0000)]
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. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8460
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:36:51 +0000 (20:36 +0000)]
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. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:35:33 +0000 (20:35 +0000)]
Update for new UnifyFunction... API
Remove using decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8458
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:35:21 +0000 (20:35 +0000)]
Remove #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8457
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:34:51 +0000 (20:34 +0000)]
Expand the pass to unify all of the unwind blocks as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8456
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:12:09 +0000 (20:12 +0000)]
Remove a bunch of warnings from the CBE generated C code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8455
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 20:08:00 +0000 (20:08 +0000)]
"the one true solution for compatibility with GCC 3.3+"
... or so I hope
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8454
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 19:52:54 +0000 (19:52 +0000)]
Be a little more specific about what is begin generated. Only print
command line if VERBOSE=1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8453
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 19:52:24 +0000 (19:52 +0000)]
Only emit inter-field-padding if the amount of padding is != 0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8452
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 19:42:51 +0000 (19:42 +0000)]
Clean up header, remove extra #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8451
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 19:37:51 +0000 (19:37 +0000)]
Avoid dumping runtime library bytecode files into lib/Bytecode if building
into the source directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8450
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 10 Sep 2003 19:37:04 +0000 (19:37 +0000)]
Make createVerifierPass return a FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8449
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 10 Sep 2003 18:38:44 +0000 (18:38 +0000)]
Updated to reflect the new locations of SingleSource tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8447
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 16:08:03 +0000 (16:08 +0000)]
Remove using declarations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8442
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 15:33:33 +0000 (15:33 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8440
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 10 Sep 2003 15:17:25 +0000 (15:17 +0000)]
Regenerated for Chris's updates, which adds several runtime library
directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8439
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 15:13:21 +0000 (15:13 +0000)]
Add missing runtime directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8438
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 10 Sep 2003 15:09:45 +0000 (15:09 +0000)]
Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8436
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 14:55:05 +0000 (14:55 +0000)]
another trivial cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8435
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 14:51:49 +0000 (14:51 +0000)]
Simplification of trip counting machinery.
- make sure to check the indvar type before anything else (efficiency)
- Make sure to insert the 'add' into the program, even though it'll be
dead
- Wrap code at 80 columns
- Other minor cleanups to reduce indentation level
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8434
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 10 Sep 2003 14:10:44 +0000 (14:10 +0000)]
Don't explicitly use $SourceDir to find the tblgen files. This causes make
some confusion when trying to generate files (it probably couldn't tell that
./file and $(SourceDir)/file may be the same file).
Now, just let VPATH find everything, and list the primary tblgen file first in
the list of dependencies so that we can just use $< to reference it in the make
rule.
This should hopefully fix the nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8433
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:30:09 +0000 (05:30 +0000)]
Fix spello
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:29:43 +0000 (05:29 +0000)]
Fix spell-o's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8431
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:24:46 +0000 (05:24 +0000)]
Spelling fixes. I think that "cannonical" is ok, but "canonical" appears to
be the canonical form for the word
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8430
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:24:09 +0000 (05:24 +0000)]
Spelling fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8429
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:10:34 +0000 (05:10 +0000)]
Fix up file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 05:08:19 +0000 (05:08 +0000)]
clean up file header comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8427
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Sep 2003 04:49:10 +0000 (04:49 +0000)]
Simplify some code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8426
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 9 Sep 2003 21:54:45 +0000 (21:54 +0000)]
Spell `occurrence' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8425
91177308-0d34-0410-b5e6-
96231b3b80d8