oota-llvm.git
20 years agoThere is no need to rely on LLI working for this test
Chris Lattner [Sun, 16 Nov 2003 22:07:45 +0000 (22:07 +0000)]
There is no need to rely on LLI working for this test

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

20 years agoISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
Chris Lattner [Sun, 16 Nov 2003 22:06:14 +0000 (22:06 +0000)]
ISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
storage duration that are local to the function containing the invocation of the
[...] setjmp macro that do not have volatile-qualified type and have been
changed between the setjmp invocation and longjmp call are indeterminate."

As such, we have to mark all variables in a function that uses 'invoke' as
volatile.

This fixes PR77

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

20 years agoTestcase for PR116
Chris Lattner [Sun, 16 Nov 2003 21:47:01 +0000 (21:47 +0000)]
Testcase for PR116

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

20 years agoadd adce bug
Chris Lattner [Sun, 16 Nov 2003 21:42:48 +0000 (21:42 +0000)]
add adce bug

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

20 years agoFix PR116
Chris Lattner [Sun, 16 Nov 2003 21:39:27 +0000 (21:39 +0000)]
Fix PR116

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

20 years agoNew testcase, for PR 115
Chris Lattner [Sun, 16 Nov 2003 20:47:05 +0000 (20:47 +0000)]
New testcase, for PR 115

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

20 years agoBugz
Chris Lattner [Sun, 16 Nov 2003 20:25:24 +0000 (20:25 +0000)]
Bugz

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

20 years agoFixes for PR114: Thanks to Reid Spencer!
Chris Lattner [Sun, 16 Nov 2003 20:21:15 +0000 (20:21 +0000)]
Fixes for PR114: Thanks to Reid Spencer!

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

20 years agoRegenerated with autoconf-2.57.
Brian Gaeke [Sun, 16 Nov 2003 18:38:14 +0000 (18:38 +0000)]
Regenerated with autoconf-2.57.

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

20 years agoOnly default to the llvm-gcc in ~lattner if that directory exists.
Brian Gaeke [Sun, 16 Nov 2003 18:37:46 +0000 (18:37 +0000)]
Only default to the llvm-gcc in ~lattner if that directory exists.
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.

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

20 years agoAs per PR96, don't build subdirs if LLVMGCCDIR is not set to something
Brian Gaeke [Sun, 16 Nov 2003 06:51:53 +0000 (06:51 +0000)]
As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".

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

20 years agoStylesheets: they do a website good!
Misha Brukman [Fri, 14 Nov 2003 17:34:38 +0000 (17:34 +0000)]
Stylesheets: they do a website good!

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

20 years agoImplement a small optimization to handling of GEP's that are equivalent to casts.
Chris Lattner [Fri, 14 Nov 2003 17:09:46 +0000 (17:09 +0000)]
Implement a small optimization to handling of GEP's that are equivalent to casts.
This results in substantially reduced collapsing for some testcases

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

20 years agoI can't believe the incompetence of the people I have to deal with around here.
Chris Lattner [Fri, 14 Nov 2003 16:34:25 +0000 (16:34 +0000)]
I can't believe the incompetence of the people I have to deal with around here.
These fools don't even wrap code at 80 columns.

Oh wait, _I_ wrote that.  That explains a lot!!

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

20 years agoBugz come in, bugs go out
Chris Lattner [Fri, 14 Nov 2003 06:42:01 +0000 (06:42 +0000)]
Bugz come in, bugs go out

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

20 years agoFix PR 110: the constant folding code assumes that if something is not a
Chris Lattner [Fri, 14 Nov 2003 06:38:46 +0000 (06:38 +0000)]
Fix PR 110: the constant folding code assumes that if something is not a
constant expression, but is of (for example) ubyte type, then it is a
ConstantUInt.  This was not true for placeholders.

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

20 years agoThis is obviously illegal C++ code, but was apparently accepted by 3.3
Chris Lattner [Fri, 14 Nov 2003 06:03:05 +0000 (06:03 +0000)]
This is obviously illegal C++ code, but was apparently accepted by 3.3

bork

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

20 years agoGive props to Reid Spencer for the namespacification work.
Misha Brukman [Fri, 14 Nov 2003 05:37:10 +0000 (05:37 +0000)]
Give props to Reid Spencer for the namespacification work.

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

20 years agoBrian implemented the vaarg instruction in the interpreter.
Misha Brukman [Fri, 14 Nov 2003 03:30:43 +0000 (03:30 +0000)]
Brian implemented the vaarg instruction in the interpreter.

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

20 years agoExpose the verifier to opt
Chris Lattner [Thu, 13 Nov 2003 19:47:29 +0000 (19:47 +0000)]
Expose the verifier to opt

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

20 years agoRemoved link from the docs index too.
Brian Gaeke [Thu, 13 Nov 2003 19:32:14 +0000 (19:32 +0000)]
Removed link from the docs index too.

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

20 years agoAs the comments indicate, this is a temporary, repulsive, hack
Chris Lattner [Thu, 13 Nov 2003 19:26:54 +0000 (19:26 +0000)]
As the comments indicate, this is a temporary, repulsive, hack

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

20 years agoImplement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
Chris Lattner [Thu, 13 Nov 2003 19:17:02 +0000 (19:17 +0000)]
Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll

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

20 years agoInstcombine should promote this, and because it isn't, we are failing poolalloc tests
Chris Lattner [Thu, 13 Nov 2003 19:05:15 +0000 (19:05 +0000)]
Instcombine should promote this, and because it isn't, we are failing poolalloc tests

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

20 years agoTrying to get the dsgraph for an external function is bad for DSA's health
Chris Lattner [Thu, 13 Nov 2003 18:48:11 +0000 (18:48 +0000)]
Trying to get the dsgraph for an external function is bad for DSA's health

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

20 years agoFixed word order.
Misha Brukman [Thu, 13 Nov 2003 18:03:11 +0000 (18:03 +0000)]
Fixed word order.

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

20 years agoNEW testcase for PR84 :(
Chris Lattner [Thu, 13 Nov 2003 06:19:56 +0000 (06:19 +0000)]
NEW testcase for PR84 :(

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

20 years agoChange LLI's internal representation of va_list to a pointer to the next
Brian Gaeke [Thu, 13 Nov 2003 06:06:01 +0000 (06:06 +0000)]
Change LLI's internal representation of va_list to a pointer to the next
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)

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

20 years agoImplement the CompleteBU pass
Chris Lattner [Thu, 13 Nov 2003 05:05:41 +0000 (05:05 +0000)]
Implement the CompleteBU pass

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

20 years agoAdd methods for implementation
Chris Lattner [Thu, 13 Nov 2003 05:05:34 +0000 (05:05 +0000)]
Add methods for implementation

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

20 years agoMinor code cleanup
Chris Lattner [Thu, 13 Nov 2003 05:04:19 +0000 (05:04 +0000)]
Minor code cleanup

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

20 years agoRemove needless dependence on boost
Chris Lattner [Thu, 13 Nov 2003 04:11:30 +0000 (04:11 +0000)]
Remove needless dependence on boost

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

20 years agoDisable integer tracking by default
Chris Lattner [Thu, 13 Nov 2003 03:10:49 +0000 (03:10 +0000)]
Disable integer tracking by default

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

20 years agoAdd namespace qualifier
Chris Lattner [Thu, 13 Nov 2003 02:30:22 +0000 (02:30 +0000)]
Add namespace qualifier

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

20 years agoMinor cleanups
Chris Lattner [Thu, 13 Nov 2003 02:01:41 +0000 (02:01 +0000)]
Minor cleanups

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

20 years agoAdd an initial version of the CompleteBUDataStructures class, which is currently
Chris Lattner [Thu, 13 Nov 2003 01:43:00 +0000 (01:43 +0000)]
Add an initial version of the CompleteBUDataStructures class, which is currently
identical to the BU pass, but has an accurate call graph

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

20 years agoAdd an initial version of the CompleteBUDataStructures pass
Chris Lattner [Thu, 13 Nov 2003 01:42:38 +0000 (01:42 +0000)]
Add an initial version of the CompleteBUDataStructures pass

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

20 years agoInclude the file before we close the llvm namespace.
Misha Brukman [Thu, 13 Nov 2003 00:23:05 +0000 (00:23 +0000)]
Include the file before we close the llvm namespace.

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

20 years agoSubstantially re-organized this file:
Misha Brukman [Thu, 13 Nov 2003 00:22:19 +0000 (00:22 +0000)]
Substantially re-organized this file:
* There is now only one pass to print out assembly instead of two
* It is a FunctionPass
* The Module-level printing of globals is now in doFinalization() method of the
  FunctionPass
* The code has been reformatted to follow LLVM coding standards
* Some comments, not all, were doxygenified
* Last but not least, the function to create an instance of this pass is also no
  longer a method in the UltraSparc class.

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

20 years agoThe function to create an instance of this pass is no longer a method of
Misha Brukman [Thu, 13 Nov 2003 00:19:02 +0000 (00:19 +0000)]
The function to create an instance of this pass is no longer a method of
the UltraSparc class.

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

20 years agoThe functions to create new instances of passes are no longer methods in the
Misha Brukman [Thu, 13 Nov 2003 00:17:20 +0000 (00:17 +0000)]
The functions to create new instances of passes are no longer methods in the
UltraSparc class. Comments are also doxygen-compatible now.

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

20 years ago* Put command-line switches in their own namespace
Misha Brukman [Thu, 13 Nov 2003 00:16:28 +0000 (00:16 +0000)]
* Put command-line switches in their own namespace
* Pass creation functions are no longer in the UltraSparc class

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

20 years agoForce a dependency on the .inc file, which must be generated!
Misha Brukman [Thu, 13 Nov 2003 00:05:09 +0000 (00:05 +0000)]
Force a dependency on the .inc file, which must be generated!

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

20 years agoFine-grainify namespaces for this library
Chris Lattner [Wed, 12 Nov 2003 23:11:14 +0000 (23:11 +0000)]
Fine-grainify namespaces for this library

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

20 years agoYou cannot debug namespacified LLVM with GDB 5.x anymore.
Misha Brukman [Wed, 12 Nov 2003 22:55:13 +0000 (22:55 +0000)]
You cannot debug namespacified LLVM with GDB 5.x anymore.

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

20 years agoAdd another fixed bug.
Brian Gaeke [Wed, 12 Nov 2003 22:48:52 +0000 (22:48 +0000)]
Add another fixed bug.

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

20 years agoFix faulty namespacification
Chris Lattner [Wed, 12 Nov 2003 22:45:14 +0000 (22:45 +0000)]
Fix faulty namespacification

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

20 years agoRegenerated `configure' for adding Makefiles and test.in to FreeBench
Misha Brukman [Wed, 12 Nov 2003 22:16:51 +0000 (22:16 +0000)]
Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.

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

20 years agoOK, scratch my last post, this actually *does* work, those syntax errors were
Misha Brukman [Wed, 12 Nov 2003 22:16:23 +0000 (22:16 +0000)]
OK, scratch my last post, this actually *does* work, those syntax errors were
imaginary.

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

20 years agoAdd new testcase for PR112
Chris Lattner [Wed, 12 Nov 2003 22:15:55 +0000 (22:15 +0000)]
Add new testcase for PR112

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

20 years agoApparently adding these entries and regenerating llvm/configure results in
Misha Brukman [Wed, 12 Nov 2003 21:51:44 +0000 (21:51 +0000)]
Apparently adding these entries and regenerating llvm/configure results in
syntax errors. Reverting the patch until I can figure out what's going on.

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

20 years agoSome programs actually require an input to run. The nerve!
Misha Brukman [Wed, 12 Nov 2003 21:45:04 +0000 (21:45 +0000)]
Some programs actually require an input to run. The nerve!

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

20 years agoMention LLVM cast instructions.
Brian Gaeke [Wed, 12 Nov 2003 21:39:31 +0000 (21:39 +0000)]
Mention LLVM cast instructions.

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

20 years agoUpdate section on GNU lightning fp.
Brian Gaeke [Wed, 12 Nov 2003 21:38:50 +0000 (21:38 +0000)]
Update section on GNU lightning fp.

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

20 years agoI won't claim we're "better than and/or different from..." at Misha's behest.
Brian Gaeke [Wed, 12 Nov 2003 21:36:29 +0000 (21:36 +0000)]
I won't claim we're "better than and/or different from..." at Misha's behest.

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

20 years agoRegress to not using the llvm namespace.
John Criswell [Wed, 12 Nov 2003 21:32:06 +0000 (21:32 +0000)]
Regress to not using the llvm namespace.
This keeps Pool Allocation stuff from compiling.
We can re-visit it later when we have time to do it right.

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

20 years agoMake the beginning of this page look like the beginnings of other pages.
Brian Gaeke [Wed, 12 Nov 2003 20:47:30 +0000 (20:47 +0000)]
Make the beginning of this page look like the beginnings of other pages.

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

20 years agoindex.html: Add link to llvm vs. the world
Brian Gaeke [Wed, 12 Nov 2003 20:31:18 +0000 (20:31 +0000)]
index.html: Add link to llvm vs. the world
llvm.css: Add padding on top and bottom so that letters do not merge with
surrounding whitespace

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

20 years agoThis color is making me want to puke :)
Chris Lattner [Wed, 12 Nov 2003 20:24:39 +0000 (20:24 +0000)]
This color is making me want to puke :)

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

20 years agoWhoops, a div got closed in the wrong place.
Brian Gaeke [Wed, 12 Nov 2003 20:20:55 +0000 (20:20 +0000)]
Whoops, a div got closed in the wrong place.

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

20 years agoFirst draft of LLVM-to-anything comparison document.
Brian Gaeke [Wed, 12 Nov 2003 20:19:40 +0000 (20:19 +0000)]
First draft of LLVM-to-anything comparison document.

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

20 years agoAdd FreeBench benchmarks to our test suite -- they weren't available by default
Misha Brukman [Wed, 12 Nov 2003 19:39:10 +0000 (19:39 +0000)]
Add FreeBench benchmarks to our test suite -- they weren't available by default
before when one didn't build in his source root.

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

20 years agoAdd new argument to disable checking
Chris Lattner [Wed, 12 Nov 2003 17:58:22 +0000 (17:58 +0000)]
Add new argument to disable checking

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

20 years agoAdd argument
Chris Lattner [Wed, 12 Nov 2003 17:58:09 +0000 (17:58 +0000)]
Add argument

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

20 years agoThe bytecode reader/writer is borking this testcase
Chris Lattner [Wed, 12 Nov 2003 16:40:08 +0000 (16:40 +0000)]
The bytecode reader/writer is borking this testcase

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

20 years agoThis is not the instruction combiner's fault! No really!
Chris Lattner [Wed, 12 Nov 2003 16:38:32 +0000 (16:38 +0000)]
This is not the instruction combiner's fault!  No really!

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

20 years agoReduced testcase for PR 110
Chris Lattner [Wed, 12 Nov 2003 16:24:30 +0000 (16:24 +0000)]
Reduced testcase for PR 110

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

20 years agoDetect problems with PHI node operands!
Chris Lattner [Wed, 12 Nov 2003 07:13:37 +0000 (07:13 +0000)]
Detect problems with PHI node operands!

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

20 years agoRestore the -llvm option
Chris Lattner [Wed, 12 Nov 2003 04:59:59 +0000 (04:59 +0000)]
Restore the -llvm option

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

20 years agoPrint return nodes for graphs with multiple functions in them correctly
Chris Lattner [Wed, 12 Nov 2003 04:58:19 +0000 (04:58 +0000)]
Print return nodes for graphs with multiple functions in them correctly

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

20 years agoDon't crash if no gg
Chris Lattner [Wed, 12 Nov 2003 04:57:58 +0000 (04:57 +0000)]
Don't crash if no gg

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

20 years agoPR107 is now fixed
Chris Lattner [Wed, 12 Nov 2003 04:42:37 +0000 (04:42 +0000)]
PR107 is now fixed

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

20 years agoFix bug PR107, patch contributed by Reid Spencer!
Chris Lattner [Wed, 12 Nov 2003 04:40:30 +0000 (04:40 +0000)]
Fix bug PR107, patch contributed by Reid Spencer!

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

20 years agoNew testcase for PR107
Chris Lattner [Wed, 12 Nov 2003 04:40:11 +0000 (04:40 +0000)]
New testcase for PR107

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

20 years agoI don't think this was supposed to have gotten into the namespaceify patch, but
Brian Gaeke [Wed, 12 Nov 2003 01:11:54 +0000 (01:11 +0000)]
I don't think this was supposed to have gotten into the namespaceify patch, but
it did. Oops!

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

20 years agoCleanups
Chris Lattner [Wed, 12 Nov 2003 00:40:34 +0000 (00:40 +0000)]
Cleanups

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

20 years agoreword a bit, be less aggressive with my link
Chris Lattner [Tue, 11 Nov 2003 23:46:35 +0000 (23:46 +0000)]
reword a bit, be less aggressive with my link

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

20 years agoAdd a link to the llvmdev posting
Chris Lattner [Tue, 11 Nov 2003 23:45:03 +0000 (23:45 +0000)]
Add a link to the llvmdev posting

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

20 years agoMention that all LLVM C++ code has been moved into the 'llvm' C++ namespace.
Brian Gaeke [Tue, 11 Nov 2003 22:45:41 +0000 (22:45 +0000)]
Mention that all LLVM C++ code has been moved into the 'llvm' C++ namespace.

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

20 years agoPut all LLVM code into the llvm namespace, as per bug 109.
Brian Gaeke [Tue, 11 Nov 2003 22:41:34 +0000 (22:41 +0000)]
Put all LLVM code into the llvm namespace, as per bug 109.

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

20 years agoMove IsArchive, IsBytecode to FileUtilities. Fix up some method comments.
Brian Gaeke [Tue, 11 Nov 2003 21:54:01 +0000 (21:54 +0000)]
Move IsArchive, IsBytecode to FileUtilities. Fix up some method comments.

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

20 years agoMove IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.
Brian Gaeke [Tue, 11 Nov 2003 21:53:50 +0000 (21:53 +0000)]
Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.

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

20 years agoAdd prototypes for CheckMagic, IsArchive, and IsBytecode.
Brian Gaeke [Tue, 11 Nov 2003 21:53:29 +0000 (21:53 +0000)]
Add prototypes for CheckMagic, IsArchive, and IsBytecode.

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

20 years agoAdd another fixed bug.
Brian Gaeke [Tue, 11 Nov 2003 21:52:34 +0000 (21:52 +0000)]
Add another fixed bug.

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

20 years agoCompute node offsets correctly
Chris Lattner [Tue, 11 Nov 2003 20:12:32 +0000 (20:12 +0000)]
Compute node offsets correctly

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

20 years ago'Tis quite silly to check for a cached version of the entire executable. That
Misha Brukman [Tue, 11 Nov 2003 18:38:56 +0000 (18:38 +0000)]
'Tis quite silly to check for a cached version of the entire executable. That
amounts to checking for a completely-native version. We'll cache on a
function-by-function basis instead (in the JIT's CodeEmitter).

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

20 years agoThis version of Linker.cpp works a lot better, but it's a little messy. Sorry.
Brian Gaeke [Tue, 11 Nov 2003 18:27:37 +0000 (18:27 +0000)]
This version of Linker.cpp works a lot better, but it's a little messy.  Sorry.

Use FileOpenable() instead of FileExists().
Create IsBytecode() predicate -- like IsArchive(), but for bytecode files.
Use IsBytecode() before trying to load any file as a bytecode file.

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

20 years agoAdd implementation of FileOpenable().
Brian Gaeke [Tue, 11 Nov 2003 18:27:21 +0000 (18:27 +0000)]
Add implementation of FileOpenable().
Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits().

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

20 years ago VS: ----------------------------------------------------------------------
Brian Gaeke [Tue, 11 Nov 2003 18:27:11 +0000 (18:27 +0000)]
 VS: ----------------------------------------------------------------------
Add prototype for FileOpenable().

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

20 years agoThe caching will not live in LLEE's execve() handler; that's suboptimal.
Misha Brukman [Tue, 11 Nov 2003 18:23:09 +0000 (18:23 +0000)]
The caching will not live in LLEE's execve() handler; that's suboptimal.

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

20 years agoAdd new method for computing node mappings. This is used by the pool allocator
Chris Lattner [Tue, 11 Nov 2003 05:08:59 +0000 (05:08 +0000)]
Add new method for computing node mappings. This is used by the pool allocator

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

20 years agoAdd new method
Chris Lattner [Tue, 11 Nov 2003 05:08:36 +0000 (05:08 +0000)]
Add new method

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

20 years agoAdded link to ``CVS Branching and Tags Primer''.
Misha Brukman [Tue, 11 Nov 2003 00:14:41 +0000 (00:14 +0000)]
Added link to ``CVS Branching and Tags Primer''.

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

20 years agoShorten the "updating Makefile" status print-out.
Misha Brukman [Tue, 11 Nov 2003 00:05:29 +0000 (00:05 +0000)]
Shorten the "updating Makefile" status print-out.

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

20 years agoFix problems linking against the reoptimizer; _llvm_regAllocState must have
Brian Gaeke [Mon, 10 Nov 2003 07:12:01 +0000 (07:12 +0000)]
Fix problems linking against the reoptimizer; _llvm_regAllocState must have
externally-visible linkage, and SaveStateToModule must default to true for llc.
I don't remember why I made it const; perhaps it should be deconstified.

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

20 years agoReorganize code for locality, improve comments
Chris Lattner [Mon, 10 Nov 2003 04:42:42 +0000 (04:42 +0000)]
Reorganize code for locality, improve comments

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

20 years agoInclude forms of SplitCriticalEdge which work correctly with pred/succ iterators
Chris Lattner [Mon, 10 Nov 2003 04:42:13 +0000 (04:42 +0000)]
Include forms of SplitCriticalEdge which work correctly with pred/succ iterators

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

20 years agoNo really, I'm not on crack
Chris Lattner [Mon, 10 Nov 2003 04:23:52 +0000 (04:23 +0000)]
No really, I'm not on crack

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

20 years agoHelper method
Chris Lattner [Mon, 10 Nov 2003 04:16:50 +0000 (04:16 +0000)]
Helper method

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

20 years agoAdjust to new critical edge interface
Chris Lattner [Mon, 10 Nov 2003 04:10:50 +0000 (04:10 +0000)]
Adjust to new critical edge interface

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