Commit Graph

7877 Commits

Author SHA1 Message Date
John Criswell f6778b68c2 Modified the checks slightly so that one can re-configure LLVM without
having to do a "make distclean" when building in the source directory.

llvm-svn: 8540
2003-09-15 17:19:42 +00:00
John Criswell 22107a75d6 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.

llvm-svn: 8539
2003-09-15 17:04:06 +00:00
Chris Lattner b421aebcc0 Fix problems with programs that prototype printf to something unusual
llvm-svn: 8538
2003-09-15 16:47:12 +00:00
Chris Lattner b12f83e101 Do not segfault when the post-dominator tree is empty (ie, there are no return
or unwind instructions in the function)

llvm-svn: 8537
2003-09-15 15:47:40 +00:00
Chris Lattner 0fead45c59 new testcase that crashes opt
llvm-svn: 8536
2003-09-15 15:29:11 +00:00
Chris Lattner 7cae89ec44 Whoops, remove makefile too
llvm-svn: 8533
2003-09-15 15:07:37 +00:00
Chris Lattner 44f9dd0ec5 Remove dead library, it is now folded into crtend
llvm-svn: 8532
2003-09-15 15:07:22 +00:00
Chris Lattner 65568e89fb Allow specifying a file with symbols to export
llvm-svn: 8531
2003-09-15 15:06:54 +00:00
Chris Lattner 6d5e3a0df3 Move the exception handling runtime stuff into this directory
llvm-svn: 8530
2003-09-15 15:06:39 +00:00
Misha Brukman d5cc6bf0dc Stop building `as' and `dis' as they have been removed.
llvm-svn: 8529
2003-09-15 14:45:00 +00:00
Misha Brukman 5135afaa5a `dis' is no longer an LLVM tool.
llvm-svn: 8528
2003-09-15 14:44:22 +00:00
Misha Brukman 9f0ab6b5db `as' is no longer an LLVM tool.
llvm-svn: 8527
2003-09-15 14:44:05 +00:00
John Criswell 697c409660 Re-generated for recent changes.
llvm-svn: 8526
2003-09-15 14:25:08 +00:00
Vikram S. Adve a9b0673a68 Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).

llvm-svn: 8525
2003-09-15 11:18:36 +00:00
Chris Lattner 40b6621b50 Minor cleanups, give credit, remove code that should not be necessary, and
was a "major hack"  :)

llvm-svn: 8524
2003-09-15 05:43:05 +00:00
Brian Gaeke 75ed4b8831 Fix typos in comments.
llvm-svn: 8523
2003-09-15 05:28:42 +00:00
Chris Lattner 1f86982f3d Add prototype for the lowersetjmp pass
llvm-svn: 8522
2003-09-15 05:05:23 +00:00
Chris Lattner cf82b00eb5 Enable the setjmp/longjmp lowering pass
llvm-svn: 8521
2003-09-15 04:56:44 +00:00
Chris Lattner 6f99eb56c3 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 da3585335b 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 233f2a0816 These two conditions are not exclusive!!
llvm-svn: 8518
2003-09-15 04:35:16 +00:00
Chris Lattner 5d0d3a2667 Make the print output more useful
llvm-svn: 8517
2003-09-15 04:29:37 +00:00
Chris Lattner 5a6fa29eb3 Fix bug: PruneEH/2003-09-14-ExternalCall.llx
llvm-svn: 8516
2003-09-15 02:22:50 +00:00
Chris Lattner f654287502 New testcase
llvm-svn: 8515
2003-09-15 02:22:35 +00:00
Chris Lattner 7f89ea75e1 Fix bug: Inline/2003-09-14-InlineValue.ll
llvm-svn: 8514
2003-09-15 02:10:16 +00:00
Chris Lattner afb2777b7a New testcase
llvm-svn: 8513
2003-09-15 02:07:37 +00:00
Chris Lattner 6b6eadc0dd Wrap long lines at 80 cols
llvm-svn: 8512
2003-09-15 01:12:04 +00:00
Chris Lattner 218112d15e 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 af4c95a051 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 20c8c040f5 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 9aa8598450 Fix the nightly tester now that olden has been moved
llvm-svn: 8508
2003-09-14 06:00:49 +00:00
Chris Lattner c0f9858706 manually add the llvm-ar stuff. this should be regenerated
llvm-svn: 8507
2003-09-13 03:29:53 +00:00
Tanya Lattner a3be0508d5 Added llvm-ar to the Makefile
llvm-svn: 8506
2003-09-13 03:23:46 +00:00
Tanya Lattner 124ddeff3c Fixed warning.
llvm-svn: 8505
2003-09-13 03:18:56 +00:00
Chris Lattner 4777f035eb Configure the llvm-ar directory
llvm-svn: 8504
2003-09-13 02:35:56 +00:00
Misha Brukman 46e18d437e 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 099ec07a95 Make sure to cannonicalize loops before running indvar simplify
llvm-svn: 8502
2003-09-12 16:45:01 +00:00
Chris Lattner cfa3eeee63 New testcase, this should be simplified
llvm-svn: 8501
2003-09-12 16:42:16 +00:00
John Criswell 3487a86ece Caught a few misses in the last modification.
llvm-svn: 8500
2003-09-12 16:36:17 +00:00
John Criswell 1868b4e330 Updated for the re-organization of llvm/test/Programs/MultiSource.
llvm-svn: 8499
2003-09-12 16:31:43 +00:00
Chris Lattner 7fdde92b1f 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 2c193404e0 Initial go at documentation for llc.
Pretty crufty.

llvm-svn: 8492
2003-09-12 15:46:24 +00:00
Chris Lattner 69fa53ce8c New testcase, bug distilled from bc
llvm-svn: 8491
2003-09-12 15:44:01 +00:00
Chris Lattner 9a95f2a944 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 acda7df68b Fixed spelling and grammar.
llvm-svn: 8489
2003-09-11 22:34:13 +00:00
Chris Lattner cce81be1e1 Simplify code
Implement InstCombine/mul.ll:test9

llvm-svn: 8488
2003-09-11 22:24:54 +00:00
Chris Lattner 80e8c466fb New testcase
llvm-svn: 8487
2003-09-11 22:23:48 +00:00
John Criswell 3c172b4331 Added the SetjmpLongjmp Makefile.
llvm-svn: 8486
2003-09-11 20:53:48 +00:00
John Criswell a9060d8406 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 408128d2f1 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