oota-llvm.git
20 years agoImprove formatting of licensing section.
Vikram S. Adve [Sat, 25 Oct 2003 17:14:52 +0000 (17:14 +0000)]
Improve formatting of licensing section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9505 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a section on licensing questions.
Vikram S. Adve [Sat, 25 Oct 2003 17:06:55 +0000 (17:06 +0000)]
Add a section on licensing questions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9504 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAttempt to provide support for those without RTLD_DEFAULT.
Chris Lattner [Sat, 25 Oct 2003 16:55:32 +0000 (16:55 +0000)]
Attempt to provide support for those without RTLD_DEFAULT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9503 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUnbreak the build
Chris Lattner [Sat, 25 Oct 2003 16:18:03 +0000 (16:18 +0000)]
Unbreak the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9502 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded answers to test suite questions.
John Criswell [Fri, 24 Oct 2003 22:48:20 +0000 (22:48 +0000)]
Added answers to test suite questions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9501 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPublicize the type of FnAllocState.
Brian Gaeke [Fri, 24 Oct 2003 21:21:58 +0000 (21:21 +0000)]
Publicize the type of FnAllocState.
Prototype option to save state in a global instead of as a Constant in
 the Module. (Turned off, for now, with the on/off switch welded in the off
 position. You get the idea.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9500 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agostandardize command line option names
Chris Lattner [Fri, 24 Oct 2003 20:05:58 +0000 (20:05 +0000)]
standardize command line option names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9496 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTraceMode, as you may have heard, is history.
Brian Gaeke [Fri, 24 Oct 2003 20:00:17 +0000 (20:00 +0000)]
TraceMode, as you may have heard, is history.
ExecutionEngine::create no longer takes a TraceMode argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9495 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agolli -q is history. Rebuild your gccld shell scripts, folks!
Brian Gaeke [Fri, 24 Oct 2003 20:00:06 +0000 (20:00 +0000)]
lli -q is history. Rebuild your gccld shell scripts, folks!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9494 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExecutionEngine::create no longer takes a TraceMode argument.
Brian Gaeke [Fri, 24 Oct 2003 19:59:37 +0000 (19:59 +0000)]
ExecutionEngine::create no longer takes a TraceMode argument.
CurFrame, TraceMode, and the CachedWriter are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
printValue() and print() are history.
executeInstruction() is now part of run().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9493 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExecutionEngine::create no longer takes a TraceMode argument.
Brian Gaeke [Fri, 24 Oct 2003 19:59:28 +0000 (19:59 +0000)]
ExecutionEngine::create no longer takes a TraceMode argument.
CurFrame, TraceMode, and the CachedWriter are history.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9492 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use stylesheets and <div>s for layout instead of <ul>
Misha Brukman [Fri, 24 Oct 2003 19:59:21 +0000 (19:59 +0000)]
* Use stylesheets and <div>s for layout instead of <ul>
* Close <a>, <li>, and <p> tags
* This isn't quite HTML 4.01 Strict-compliant, but it's almost there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9491 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
Brian Gaeke [Fri, 24 Oct 2003 19:59:18 +0000 (19:59 +0000)]
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9490 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReduce the number of #includes.
Brian Gaeke [Fri, 24 Oct 2003 19:59:01 +0000 (19:59 +0000)]
Reduce the number of #includes.
CurFrame, TraceMode, and the CachedWriter are history.
ArrayChecksEnabled and non-QuietMode are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
Stop pre-initializing Values on the stack to 42.
Remove some dead variables, excess whitespace and commented-out code.
executeInstruction() is now part of run().
printValue() and print() are history.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9489 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExecutionEngine::create no longer takes a TraceMode argument.
Brian Gaeke [Fri, 24 Oct 2003 19:58:38 +0000 (19:58 +0000)]
ExecutionEngine::create no longer takes a TraceMode argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9488 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded a style for making test red, which is used in CommandLine.html
Misha Brukman [Fri, 24 Oct 2003 19:58:36 +0000 (19:58 +0000)]
Added a style for making test red, which is used in CommandLine.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9487 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTurn on the inliner by default at link-time
Chris Lattner [Fri, 24 Oct 2003 18:09:23 +0000 (18:09 +0000)]
Turn on the inliner by default at link-time

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9477 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis is now valid HTML 4.01 Strict.
Misha Brukman [Fri, 24 Oct 2003 18:06:11 +0000 (18:06 +0000)]
This is now valid HTML 4.01 Strict.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9475 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use HTML 4.01 Strict DTD
Misha Brukman [Fri, 24 Oct 2003 17:57:33 +0000 (17:57 +0000)]
* Use HTML 4.01 Strict DTD
* Stop using UTF-8, the webserver sends out iso-8859-1 anyway
* Use style sheets and <div>s instead of <font> tags
* Stop using <ul> for layout

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9474 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a style for document footers.
Misha Brukman [Fri, 24 Oct 2003 17:56:09 +0000 (17:56 +0000)]
Add a style for document footers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9473 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Made into valid CSS that W3C accepts
Misha Brukman [Fri, 24 Oct 2003 17:34:50 +0000 (17:34 +0000)]
* Made into valid CSS that W3C accepts
* Added document subsubsection styles for usage in documentation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9472 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd note about multilibs. THis should go into the 1.0 release if possible
Chris Lattner [Fri, 24 Oct 2003 16:02:34 +0000 (16:02 +0000)]
Add note about multilibs.  THis should go into the 1.0 release if possible

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9467 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate list of passes and buglist.
Chris Lattner [Fri, 24 Oct 2003 04:03:19 +0000 (04:03 +0000)]
Update list of passes and buglist.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9460 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDestroy MachineFunction for any Function that we are about to
Brian Gaeke [Fri, 24 Oct 2003 03:55:37 +0000 (03:55 +0000)]
Destroy MachineFunction for any Function that we are about to
recompile and relink. This keeps it from failing an assertion when
it goes and tries to construct a new MachineFunction for that Function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9459 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOrganized in 4 parts. The last two are the same as before: LLVM Docs and
Vikram S. Adve [Fri, 24 Oct 2003 02:36:15 +0000 (02:36 +0000)]
Organized in 4 parts. The last two are the same as before: LLVM Docs and
Mailing Lists.  The first two are ""Getting Started" and "Getting Help."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9457 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove the implementations of ==, != on AllocInfos here, from UnpackTraceFunction.
Brian Gaeke [Thu, 23 Oct 2003 20:39:18 +0000 (20:39 +0000)]
Move the implementations of ==, != on AllocInfos here, from UnpackTraceFunction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9452 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove AllocInfo structure to a private AllocInfo.h header file.
Brian Gaeke [Thu, 23 Oct 2003 20:32:55 +0000 (20:32 +0000)]
Move AllocInfo structure to a private AllocInfo.h header file.
Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.
Give doFinalization a method comment, and let it do the work of converting
 AllocInfos to LLVM Constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9451 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.
Brian Gaeke [Thu, 23 Oct 2003 20:32:02 +0000 (20:32 +0000)]
Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9450 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew file, containing AllocInfo structure.
Brian Gaeke [Thu, 23 Oct 2003 20:31:51 +0000 (20:31 +0000)]
New file, containing AllocInfo structure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9449 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRecommend using -z3
Chris Lattner [Thu, 23 Oct 2003 19:49:01 +0000 (19:49 +0000)]
Recommend using -z3

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9445 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove explicit paths
Chris Lattner [Thu, 23 Oct 2003 19:48:11 +0000 (19:48 +0000)]
Remove explicit paths

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9444 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd assertions
Chris Lattner [Thu, 23 Oct 2003 19:33:49 +0000 (19:33 +0000)]
Add assertions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9443 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug in eon hopefully
Chris Lattner [Thu, 23 Oct 2003 19:33:44 +0000 (19:33 +0000)]
Fix bug in eon hopefully

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9442 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: CBackend/2003-10-23-UnusedType.ll and hopefully 252.eon
Chris Lattner [Thu, 23 Oct 2003 19:30:30 +0000 (19:30 +0000)]
Fix bug: CBackend/2003-10-23-UnusedType.ll and hopefully 252.eon

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9441 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase, which failes to compile. 252.eon hits this problem
Chris Lattner [Thu, 23 Oct 2003 19:25:53 +0000 (19:25 +0000)]
New testcase, which failes to compile.  252.eon hits this problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9440 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdated configure script.
John Criswell [Thu, 23 Oct 2003 19:16:12 +0000 (19:16 +0000)]
Updated configure script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9438 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWe might as well strip off any CPRs before propagation
Chris Lattner [Thu, 23 Oct 2003 18:49:23 +0000 (18:49 +0000)]
We might as well strip off any CPRs before propagation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9437 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFail gracefully if we have a zero arg varargs function
Chris Lattner [Thu, 23 Oct 2003 18:39:22 +0000 (18:39 +0000)]
Fail gracefully if we have a zero arg varargs function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9436 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTurn on the IPCP pass by default. It has passed all of the tests
Chris Lattner [Thu, 23 Oct 2003 18:25:57 +0000 (18:25 +0000)]
Turn on the IPCP pass by default.  It has passed all of the tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9435 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReformat. A few minor edits.
Brian Gaeke [Thu, 23 Oct 2003 18:10:28 +0000 (18:10 +0000)]
Reformat. A few minor edits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9434 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Eliminate `using' directive
Misha Brukman [Thu, 23 Oct 2003 18:10:02 +0000 (18:10 +0000)]
* Eliminate `using' directive
* Fix order of #includes
* Make code layout more consistent
* Eliminate extraneous whitespace and comment-lines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9433 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Fix order of #include files
Misha Brukman [Thu, 23 Oct 2003 18:06:27 +0000 (18:06 +0000)]
* Fix order of #include files
* Doxygen-ify method comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9432 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Order #includes as per style guide
Misha Brukman [Thu, 23 Oct 2003 18:03:50 +0000 (18:03 +0000)]
* Order #includes as per style guide
* Doxygen-ify comments
* Make code layout more consistent

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9431 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use C++ style comments instead of C-style
Misha Brukman [Thu, 23 Oct 2003 18:02:47 +0000 (18:02 +0000)]
* Use C++ style comments instead of C-style
* Make file description more readable
* Make code layout more consistent, include comment in assert so it's visible
  during execution if it hits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9430 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Eliminate `using' directive
Misha Brukman [Thu, 23 Oct 2003 18:00:34 +0000 (18:00 +0000)]
* Eliminate `using' directive
* Order #includes as per style guide

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9429 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* We were forgetting to pass varargs arguments through a call
Chris Lattner [Thu, 23 Oct 2003 17:44:53 +0000 (17:44 +0000)]
* We were forgetting to pass varargs arguments through a call
* Add a work around for bug PR56, gross but necessary for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9428 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Eliminate `using' directive
Misha Brukman [Thu, 23 Oct 2003 17:43:17 +0000 (17:43 +0000)]
* Eliminate `using' directive
* Make code layout more consistent

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9427 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake code layout more consistent.
Misha Brukman [Thu, 23 Oct 2003 17:39:37 +0000 (17:39 +0000)]
Make code layout more consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9426 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoZero arg varargs functions are legal in LLVM, but not in C.
Chris Lattner [Thu, 23 Oct 2003 17:31:33 +0000 (17:31 +0000)]
Zero arg varargs functions are legal in LLVM, but not in C.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9425 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDelete unused EmitByteSwap method
Chris Lattner [Thu, 23 Oct 2003 17:21:43 +0000 (17:21 +0000)]
Delete unused EmitByteSwap method
Implement mul/div/rem constant expressions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9424 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCheck in initial version of ipcp
Chris Lattner [Thu, 23 Oct 2003 16:52:27 +0000 (16:52 +0000)]
Check in initial version of ipcp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9423 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude new prototype
Chris Lattner [Thu, 23 Oct 2003 16:51:49 +0000 (16:51 +0000)]
Include new prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9422 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake code layout more consistent.
Misha Brukman [Thu, 23 Oct 2003 16:48:30 +0000 (16:48 +0000)]
Make code layout more consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9418 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoActually share constants local to a function!
Chris Lattner [Thu, 23 Oct 2003 16:29:12 +0000 (16:29 +0000)]
Actually share constants local to a function!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9417 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Order includes according to style guide
Misha Brukman [Thu, 23 Oct 2003 16:22:08 +0000 (16:22 +0000)]
* Order includes according to style guide
* Convert tabs to spaces
* Make code fit within 80 columns

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9416 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Stop referring to llvmbugs mailing list, point them to Bugzilla
Misha Brukman [Thu, 23 Oct 2003 16:18:51 +0000 (16:18 +0000)]
* Stop referring to llvmbugs mailing list, point them to Bugzilla
* Use ASCII (c) instead of the special character, which may not display
  correctly for everyone
* Wrap at 80 columns

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9415 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate test
Chris Lattner [Thu, 23 Oct 2003 16:01:03 +0000 (16:01 +0000)]
Update test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agodocument real source of bug
Chris Lattner [Thu, 23 Oct 2003 16:00:59 +0000 (16:00 +0000)]
document real source of bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded new license information in preparation for LLVM 1.0.
John Criswell [Thu, 23 Oct 2003 15:57:59 +0000 (15:57 +0000)]
Added new license information in preparation for LLVM 1.0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9410 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agofix test
Chris Lattner [Thu, 23 Oct 2003 15:57:45 +0000 (15:57 +0000)]
fix test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix test
Chris Lattner [Thu, 23 Oct 2003 15:51:55 +0000 (15:51 +0000)]
Fix test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9408 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix buggy test
Chris Lattner [Thu, 23 Oct 2003 15:46:42 +0000 (15:46 +0000)]
Fix buggy test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9407 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix an assertion failure in Bugpoint
Chris Lattner [Thu, 23 Oct 2003 15:42:55 +0000 (15:42 +0000)]
Fix an assertion failure in Bugpoint

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9406 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not report errors if QMTest returns a non-zero value.
John Criswell [Thu, 23 Oct 2003 14:11:53 +0000 (14:11 +0000)]
Do not report errors if QMTest returns a non-zero value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9404 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: instcombine/2003-10-23-InstcombineNullFail.ll
Chris Lattner [Thu, 23 Oct 2003 05:21:48 +0000 (05:21 +0000)]
Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9403 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoA new testcase for an instcombine miscompilation!
Chris Lattner [Thu, 23 Oct 2003 05:10:53 +0000 (05:10 +0000)]
A new testcase for an instcombine miscompilation!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix apparent typo in head-of-file comment.
Brian Gaeke [Thu, 23 Oct 2003 04:01:49 +0000 (04:01 +0000)]
Fix apparent typo in head-of-file comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9400 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor edits
Chris Lattner [Thu, 23 Oct 2003 03:55:23 +0000 (03:55 +0000)]
Minor edits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9399 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake this pass substantially stronger by having it delete dead return values
Chris Lattner [Thu, 23 Oct 2003 03:48:17 +0000 (03:48 +0000)]
Make this pass substantially stronger by having it delete dead return values
as well as arguments.  Now it can delete arguments and return values which are
only passed into other arguments or are returned, if they are dead.  This causes
it to delete several hundred extra args/retvals from the C++ hello world program,
shrinking it by about 2K.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9398 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTo say this file is obsolete to understate the obvious
Chris Lattner [Thu, 23 Oct 2003 03:30:55 +0000 (03:30 +0000)]
To say this file is obsolete to understate the obvious

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9397 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReally close the <li> tags.
Misha Brukman [Thu, 23 Oct 2003 02:29:42 +0000 (02:29 +0000)]
Really close the <li> tags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9396 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove extraneous comments.
Misha Brukman [Thu, 23 Oct 2003 01:50:39 +0000 (01:50 +0000)]
Remove extraneous comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9395 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Quote a value in <font> tag.
Misha Brukman [Thu, 23 Oct 2003 01:49:47 +0000 (01:49 +0000)]
* Quote a value in <font> tag.
* Let CVS figure out the last-modified-date for us

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9394 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use UTF-8 instead of ISO-8859-1
Misha Brukman [Thu, 23 Oct 2003 01:48:33 +0000 (01:48 +0000)]
* Use UTF-8 instead of ISO-8859-1
* Use stylesheet instead of explicit <font> formatting
* Stop using <ul> for layout
* Close <li> tags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9393 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
Misha Brukman [Wed, 22 Oct 2003 23:27:16 +0000 (23:27 +0000)]
* Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
* Use stylesheets instead of explicit <font> tags
* Stop using <ul> for spacing layout
* Close <a> and <p> tags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9392 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWe will distributed this stylesheet with the documentation, as well as use it
Misha Brukman [Wed, 22 Oct 2003 23:23:49 +0000 (23:23 +0000)]
We will distributed this stylesheet with the documentation, as well as use it
(via import) in the online version.

* Added styles for documentation headers, sections, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9391 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis important patch fixes two warnings in the linker which can occur from linking
Chris Lattner [Wed, 22 Oct 2003 23:03:38 +0000 (23:03 +0000)]
This important patch fixes two warnings in the linker which can occur from linking
valid pieces of code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9390 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase for the deadreturnvalue deletion extension to -deadargelim
Chris Lattner [Wed, 22 Oct 2003 22:33:59 +0000 (22:33 +0000)]
New testcase for the deadreturnvalue deletion extension to -deadargelim

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9389 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange the type of FnAllocState.
Brian Gaeke [Wed, 22 Oct 2003 20:44:29 +0000 (20:44 +0000)]
Change the type of FnAllocState.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9388 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't worry about converting each function's reg. alloc. state into One Big
Brian Gaeke [Wed, 22 Oct 2003 20:44:23 +0000 (20:44 +0000)]
Don't worry about converting each function's reg. alloc. state into One Big
Constant early on, because we can do it in doFinalization.

Tighten up a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9387 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd prototype for verifySavedState().
Brian Gaeke [Wed, 22 Oct 2003 20:23:13 +0000 (20:23 +0000)]
Add prototype for verifySavedState().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9386 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDoxygenify method comments.
Brian Gaeke [Wed, 22 Oct 2003 20:22:53 +0000 (20:22 +0000)]
Doxygenify method comments.
Try to improve method comments a little.
Get rid of some excess whitespace; put braces on previous line when possible.
Add stub for method to verify the work of saveState().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9385 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis is a disgusting hack that improves code substantially, by making
Chris Lattner [Wed, 22 Oct 2003 18:53:31 +0000 (18:53 +0000)]
This is a disgusting hack that improves code substantially, by making
callgraphSCC passes more effective.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9384 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoClarify our testing experience.
Brian Gaeke [Wed, 22 Oct 2003 18:19:08 +0000 (18:19 +0000)]
Clarify our testing experience.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9383 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not check for strings.h. This is an old, old, old pre-C89 header that
Brian Gaeke [Wed, 22 Oct 2003 17:52:56 +0000 (17:52 +0000)]
Do not check for strings.h. This is an old, old, old pre-C89 header that
absolutely nothing should be using (and it looks like nothing IS using it).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9381 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoI think this file is not included by anything.
Brian Gaeke [Wed, 22 Oct 2003 17:51:28 +0000 (17:51 +0000)]
I think this file is not included by anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9380 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Changed URL referring to zion to use llvm instead
Misha Brukman [Wed, 22 Oct 2003 17:01:44 +0000 (17:01 +0000)]
* Changed URL referring to zion to use llvm instead
* Close <li> tags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9378 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not add unreachable code to a natural loop!
Chris Lattner [Wed, 22 Oct 2003 16:41:21 +0000 (16:41 +0000)]
Do not add unreachable code to a natural loop!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9377 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure to print labels on nodes without names
Chris Lattner [Wed, 22 Oct 2003 16:30:58 +0000 (16:30 +0000)]
Make sure to print labels on nodes without names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9376 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIf the basic block has no name, make sure to print the % number of it
Chris Lattner [Wed, 22 Oct 2003 16:22:42 +0000 (16:22 +0000)]
If the basic block has no name, make sure to print the % number of it

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9375 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the Function::viewCFG* methods, for use in a debugger. Also, the
Chris Lattner [Wed, 22 Oct 2003 16:03:49 +0000 (16:03 +0000)]
Implement the Function::viewCFG* methods, for use in a debugger.  Also, the
-print-cfg pass now lives here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9374 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd two new function stubs for viewing the CFG of a function inside of the
Chris Lattner [Wed, 22 Oct 2003 16:03:20 +0000 (16:03 +0000)]
Add two new function stubs for viewing the CFG of a function inside of the
debugger

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9373 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDelete the -print-cfg pass from this file
Chris Lattner [Wed, 22 Oct 2003 16:02:58 +0000 (16:02 +0000)]
Delete the -print-cfg pass from this file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9372 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded information on using Bugzilla.
John Criswell [Wed, 22 Oct 2003 15:06:11 +0000 (15:06 +0000)]
Added information on using Bugzilla.
Removed information on using llvm-bugs to report bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9371 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd comments to describe what these functions actually do.
Misha Brukman [Wed, 22 Oct 2003 05:50:40 +0000 (05:50 +0000)]
Add comments to describe what these functions actually do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9370 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use <cmath> instead of <math.h>
Misha Brukman [Wed, 22 Oct 2003 05:09:56 +0000 (05:09 +0000)]
* Use <cmath> instead of <math.h>
* Order #includes according to LLVM coding standards

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9369 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemoved completely duplicated function comment (an identical one appears later).
Misha Brukman [Wed, 22 Oct 2003 04:55:09 +0000 (04:55 +0000)]
Removed completely duplicated function comment (an identical one appears later).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9368 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNo, really, order the #includes correctly.
Misha Brukman [Wed, 22 Oct 2003 04:51:36 +0000 (04:51 +0000)]
No, really, order the #includes correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9367 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate the 'used' flag correctly
Chris Lattner [Wed, 22 Oct 2003 04:43:18 +0000 (04:43 +0000)]
Update the 'used' flag correctly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9366 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLoop over the module, not the symbol table. This makes the code handle
Chris Lattner [Wed, 22 Oct 2003 04:42:20 +0000 (04:42 +0000)]
Loop over the module, not the symbol table.  This makes the code handle
unused external functions again

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9365 91177308-0d34-0410-b5e6-96231b3b80d8