oota-llvm.git
21 years agoMade paragraph structure more consistent.
Misha Brukman [Fri, 21 Nov 2003 22:30:25 +0000 (22:30 +0000)]
Made paragraph structure more consistent.

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

21 years agoNew testcase
Chris Lattner [Fri, 21 Nov 2003 22:28:49 +0000 (22:28 +0000)]
New testcase

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

21 years agoAdded note about PR140: gccld generates script to run apps and load libraries.
Misha Brukman [Fri, 21 Nov 2003 22:11:12 +0000 (22:11 +0000)]
Added note about PR140: gccld generates script to run apps and load libraries.

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

21 years agoConsidering that CI is not even IN SCOPE here, I wooda thought the compiler
Chris Lattner [Fri, 21 Nov 2003 21:57:29 +0000 (21:57 +0000)]
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
would have caught this.  *sigh*

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:54:22 +0000 (21:54 +0000)]
Finegrainify namespacification

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

21 years agoGet rid of using decls, finegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:52:10 +0000 (21:52 +0000)]
Get rid of using decls, finegrainify namespacification

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

21 years ago* Finegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:46:09 +0000 (21:46 +0000)]
* Finegrainify namespacification
* Make the cost metric for passing constants in as arguments to functions MUCH
  more accurate, by actually estimating the amount of code that will be constant
  propagated away.

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:45:31 +0000 (21:45 +0000)]
Finegrainify namespacification
Print out the costs for functions that AREN'T inlined as well

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

21 years agoReorder passes a bit. In particular, it makes sense to run globaldce IMMEDIATELY...
Chris Lattner [Fri, 21 Nov 2003 21:44:35 +0000 (21:44 +0000)]
Reorder passes a bit.  In particular, it makes sense to run globaldce IMMEDIATELY after funcresolve.  Also, run the mem2reg pass _early_ so that IPCP and DAE actually do stuff.
Run instcombine and simplify cfg after this to cleanup the intraprocedural messes we create.

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

21 years agoFix problem Reid was having with external globals and nonexternal linkage
Chris Lattner [Fri, 21 Nov 2003 20:33:27 +0000 (20:33 +0000)]
Fix problem Reid was having with external globals and nonexternal linkage

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

21 years agoDon't crash on bogus source value
Chris Lattner [Fri, 21 Nov 2003 20:27:35 +0000 (20:27 +0000)]
Don't crash on bogus source value

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 20:23:48 +0000 (20:23 +0000)]
Finegrainify namespacification

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

21 years agoFixed another minor grammatical error.
John Criswell [Fri, 21 Nov 2003 17:42:22 +0000 (17:42 +0000)]
Fixed another minor grammatical error.

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

21 years agoFix some problems with assertions printing
Chris Lattner [Fri, 21 Nov 2003 17:35:51 +0000 (17:35 +0000)]
Fix some problems with assertions printing

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

21 years agoimprove error message
Chris Lattner [Fri, 21 Nov 2003 17:06:29 +0000 (17:06 +0000)]
improve error message

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

21 years agoMinor cleanups and simplifications
Chris Lattner [Fri, 21 Nov 2003 16:52:05 +0000 (16:52 +0000)]
Minor cleanups and simplifications

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

21 years agoMinor grammatical and punctuation corrections.
John Criswell [Fri, 21 Nov 2003 16:09:42 +0000 (16:09 +0000)]
Minor grammatical and punctuation corrections.

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

21 years agoClean more qmtest files.
Brian Gaeke [Fri, 21 Nov 2003 01:12:47 +0000 (01:12 +0000)]
Clean more qmtest files.

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

21 years agoThis function REALLY DOES return void
Chris Lattner [Thu, 20 Nov 2003 21:22:32 +0000 (21:22 +0000)]
This function REALLY DOES return void

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

21 years ago* Finegrainify namespacification
Chris Lattner [Thu, 20 Nov 2003 21:21:31 +0000 (21:21 +0000)]
* Finegrainify namespacification
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll
   ... which eliminates a large number of annoying warnings.  I know misha
   will miss them though!

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

21 years agoFix an all too common form of the 'Found global types that are not compatible' warning
Chris Lattner [Thu, 20 Nov 2003 21:04:35 +0000 (21:04 +0000)]
Fix an all too common form of the 'Found global types that are not compatible' warning

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

21 years agoBug
Chris Lattner [Thu, 20 Nov 2003 20:59:57 +0000 (20:59 +0000)]
Bug

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

21 years agoNew testcase for PR143
Chris Lattner [Thu, 20 Nov 2003 20:57:33 +0000 (20:57 +0000)]
New testcase for PR143

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

21 years agoBlow away compiled versions of qmtest classes on 'make clean'.
Brian Gaeke [Thu, 20 Nov 2003 19:57:17 +0000 (19:57 +0000)]
Blow away compiled versions of qmtest classes on 'make clean'.

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

21 years agoFix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
Brian Gaeke [Thu, 20 Nov 2003 19:51:11 +0000 (19:51 +0000)]
Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.

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

21 years agoBug
Chris Lattner [Thu, 20 Nov 2003 19:30:17 +0000 (19:30 +0000)]
Bug

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

21 years agoNew testcase for PR132
Chris Lattner [Thu, 20 Nov 2003 19:27:12 +0000 (19:27 +0000)]
New testcase for PR132

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

21 years agoBug fix
Chris Lattner [Thu, 20 Nov 2003 19:11:47 +0000 (19:11 +0000)]
Bug fix

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

21 years agoWhen writing out the runner script, add -load=<lib> lines to pull in all the
Misha Brukman [Thu, 20 Nov 2003 19:08:42 +0000 (19:08 +0000)]
When writing out the runner script, add -load=<lib> lines to pull in all the
shared objects automagically, so it doesn't have to be done by hand.

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

21 years agoAdd ability to search only for native shared object, and expose the
Misha Brukman [Thu, 20 Nov 2003 19:08:06 +0000 (19:08 +0000)]
Add ability to search only for native shared object, and expose the
functionality to the rest of gccld.

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

21 years agoNew testcase for PR141
Chris Lattner [Thu, 20 Nov 2003 19:05:21 +0000 (19:05 +0000)]
New testcase for PR141

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

21 years agoStart using the nicer terminator auto-insertion API
Chris Lattner [Thu, 20 Nov 2003 18:25:24 +0000 (18:25 +0000)]
Start using the nicer terminator auto-insertion API

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

21 years agoSpew symbolic types!
Chris Lattner [Thu, 20 Nov 2003 18:23:14 +0000 (18:23 +0000)]
Spew symbolic types!

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

21 years agoWhen spewing out warnings during function resolution, do not vomit out pages
Chris Lattner [Thu, 20 Nov 2003 18:19:35 +0000 (18:19 +0000)]
When spewing out warnings during function resolution, do not vomit out pages
and pages of non-symbolic types.

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

21 years agoSomehow I forgot poor little UnwindInst
Chris Lattner [Thu, 20 Nov 2003 18:11:56 +0000 (18:11 +0000)]
Somehow I forgot poor little UnwindInst
*sniff*

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

21 years ago* Finegrainify namespacification
Chris Lattner [Thu, 20 Nov 2003 17:45:12 +0000 (17:45 +0000)]
* Finegrainify namespacification
* Add new constructors to allow insertion of terminator instructions at the
  end of basic blocks.
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
  need to be emitted to every translation unit that uses the class.

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

21 years ago* Add new constructors to allow insertion of terminator instructions at the
Chris Lattner [Thu, 20 Nov 2003 17:44:37 +0000 (17:44 +0000)]
* Add new constructors to allow insertion of terminator instructions at the
  end of basic blocks.
* Document some confusing constructor combinations
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
  need to be emitted to every translation unit that uses the class.

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

21 years agoFor consistency, removed space between function name and left paren in function
Misha Brukman [Thu, 20 Nov 2003 06:26:15 +0000 (06:26 +0000)]
For consistency, removed space between function name and left paren in function
call, i.e. [ addPass (...) ]  =>  [ addPass(...) ]

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

21 years ago* Doxygenified comments, simplifying them and shortening in the process
Misha Brukman [Thu, 20 Nov 2003 06:21:54 +0000 (06:21 +0000)]
* Doxygenified comments, simplifying them and shortening in the process
* Eliminated extra space

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

21 years agoMerging the linear scan register allocator in trunk. It currently passes most tests...
Alkis Evlogimenos [Thu, 20 Nov 2003 03:32:25 +0000 (03:32 +0000)]
Merging the linear scan register allocator in trunk. It currently passes most tests under test/Programs/SingleSource/Benchmarks/Shootout so development will continue on trunk. The allocator is not enabled by default. You will need to pass -regallo=linearscan to lli or llc to use it.

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

21 years agoOne new bug fixed, one old bug fixed.
Chris Lattner [Thu, 20 Nov 2003 01:07:41 +0000 (01:07 +0000)]
One new bug fixed, one old bug fixed.

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

21 years agoTestcase for PR113
Chris Lattner [Thu, 20 Nov 2003 00:32:57 +0000 (00:32 +0000)]
Testcase for PR113

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

21 years agoDon't crash if we are printing an orphaned basic block!
Chris Lattner [Thu, 20 Nov 2003 00:09:43 +0000 (00:09 +0000)]
Don't crash if we are printing an orphaned basic block!

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

21 years agoUnbreak the "-" as filename hack.
Brian Gaeke [Wed, 19 Nov 2003 22:15:00 +0000 (22:15 +0000)]
Unbreak the "-" as filename hack.

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

21 years agobugz
Chris Lattner [Wed, 19 Nov 2003 22:05:38 +0000 (22:05 +0000)]
bugz

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

21 years agoAlso print an error msg. for files we cannot currently deal with.
Brian Gaeke [Wed, 19 Nov 2003 21:57:30 +0000 (21:57 +0000)]
Also print an error msg. for files we cannot currently deal with.

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

21 years agoFix PR134, by checking FileOpenable() on each input file before analyzing its
Brian Gaeke [Wed, 19 Nov 2003 21:52:09 +0000 (21:52 +0000)]
Fix PR134, by checking FileOpenable() on each input file before analyzing its
type.

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

21 years agoNew testcase for PR133
Chris Lattner [Wed, 19 Nov 2003 21:37:52 +0000 (21:37 +0000)]
New testcase for PR133

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

21 years agoWe now support different expectations for different OS's/architectures.
John Criswell [Wed, 19 Nov 2003 21:13:25 +0000 (21:13 +0000)]
We now support different expectations for different OS's/architectures.

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

21 years agoFine grainify namespaceification
Chris Lattner [Wed, 19 Nov 2003 21:08:57 +0000 (21:08 +0000)]
Fine grainify namespaceification

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

21 years agoupdate test
Chris Lattner [Wed, 19 Nov 2003 19:47:36 +0000 (19:47 +0000)]
update test

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

21 years agoGenericize tests
Chris Lattner [Wed, 19 Nov 2003 19:44:28 +0000 (19:44 +0000)]
Genericize tests

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

21 years agoCleanup test
Chris Lattner [Wed, 19 Nov 2003 19:42:12 +0000 (19:42 +0000)]
Cleanup test

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

21 years agoReally, there was a reason for me factoring that out
Chris Lattner [Wed, 19 Nov 2003 19:20:20 +0000 (19:20 +0000)]
Really, there was a reason for me factoring that out

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

21 years ago*** Significantly speed up type resultion
Chris Lattner [Wed, 19 Nov 2003 19:10:23 +0000 (19:10 +0000)]
*** Significantly speed up type resultion
  This change speeds up type resolution by checking to see if a type is
  recursive, and if it's not, using a more efficient algorithm.

  This dramatically reduces bytecode loading time of kc++, reducing time-to-jit
  kc++ --version to 17s from 33s

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

21 years agoImprove test portability
Chris Lattner [Wed, 19 Nov 2003 18:37:06 +0000 (18:37 +0000)]
Improve test portability

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

21 years agoFix testcase. This should no longer be XFAIL'd
Chris Lattner [Wed, 19 Nov 2003 18:34:44 +0000 (18:34 +0000)]
Fix testcase.  This should no longer be XFAIL'd

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

21 years ago* Finegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 17:27:18 +0000 (17:27 +0000)]
* Finegrainify namespacification
* Strength reduce several data structures which were left over from the
  "bad old days"
* Minor efficiency improvements
* Major efficiency improvement: In BytecodeParser::insertValue, do not allocate
  a new ValueTab entry just because some value exists with a large type.  This
  dramatically reduces the number of allocations/deallocations performed by the
  bytecode reader, and speeds up parsing of Kimwitu++ from 34s to 17s.  This is
  to help address PR127

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

21 years agoMinor efficiency improvements, finegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 17:21:11 +0000 (17:21 +0000)]
Minor efficiency improvements, finegrainify namespacification

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

21 years agoIn the future, these slabs can be null...
Chris Lattner [Wed, 19 Nov 2003 17:20:42 +0000 (17:20 +0000)]
In the future, these slabs can be null...

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

21 years agoMinor efficiency improvements all over. Finegrainify Namespacification
Chris Lattner [Wed, 19 Nov 2003 17:17:36 +0000 (17:17 +0000)]
Minor efficiency improvements all over.  Finegrainify Namespacification

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

21 years agoFine grainify namespacification, #include file that defines the interface!
Chris Lattner [Wed, 19 Nov 2003 16:06:55 +0000 (16:06 +0000)]
Fine grainify namespacification, #include file that defines the interface!

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

21 years agoFinegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 06:14:38 +0000 (06:14 +0000)]
Finegrainify namespacification

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

21 years agoMinor speedup to do less linear time searches of information we already have.
Chris Lattner [Wed, 19 Nov 2003 06:01:12 +0000 (06:01 +0000)]
Minor speedup to do less linear time searches of  information we already have.
speeds up disassembly of kc++ by .6s

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

21 years agoadd new FAQ entry
Chris Lattner [Wed, 19 Nov 2003 05:53:12 +0000 (05:53 +0000)]
add new FAQ entry

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

21 years agoMore bugz
Chris Lattner [Wed, 19 Nov 2003 01:08:24 +0000 (01:08 +0000)]
More bugz

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

21 years agoNew testcase for PR 130
Chris Lattner [Wed, 19 Nov 2003 01:03:16 +0000 (01:03 +0000)]
New testcase for PR 130

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

21 years agoFix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll
Chris Lattner [Wed, 19 Nov 2003 01:02:52 +0000 (01:02 +0000)]
Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll

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

21 years agoTestcase for PR131
Chris Lattner [Tue, 18 Nov 2003 23:46:07 +0000 (23:46 +0000)]
Testcase for PR131

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

21 years agoAdd a few new bugs
Chris Lattner [Tue, 18 Nov 2003 23:04:02 +0000 (23:04 +0000)]
Add a few new bugs

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

21 years agonew testcase for PR126
Chris Lattner [Tue, 18 Nov 2003 21:05:55 +0000 (21:05 +0000)]
new testcase for PR126

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

21 years agoNew testcase for PR125
Chris Lattner [Tue, 18 Nov 2003 20:30:00 +0000 (20:30 +0000)]
New testcase for PR125

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

21 years agoTestcase for PR128
Chris Lattner [Tue, 18 Nov 2003 20:24:46 +0000 (20:24 +0000)]
Testcase for PR128

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

21 years agoFix PR123
Chris Lattner [Tue, 18 Nov 2003 17:47:05 +0000 (17:47 +0000)]
Fix PR123

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

21 years agoAdded the new GCC front end section to the table of contents.
John Criswell [Tue, 18 Nov 2003 16:08:49 +0000 (16:08 +0000)]
Added the new GCC front end section to the table of contents.

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

21 years agoAdded information on the GCC front end.
John Criswell [Tue, 18 Nov 2003 16:05:23 +0000 (16:05 +0000)]
Added information on the GCC front end.

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

21 years agoOnly use -Wl,-R. if HAVE_LINK_R.
Brian Gaeke [Tue, 18 Nov 2003 06:31:17 +0000 (06:31 +0000)]
Only use -Wl,-R. if HAVE_LINK_R.

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

21 years agoAdd new bug fixed in the CFE
Chris Lattner [Tue, 18 Nov 2003 06:25:05 +0000 (06:25 +0000)]
Add new bug fixed in the CFE

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

21 years agoRegenerated using autoheader-2.57
Brian Gaeke [Tue, 18 Nov 2003 06:21:24 +0000 (06:21 +0000)]
Regenerated using autoheader-2.57

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

21 years agoRegenerated using autoconf-2.57
Brian Gaeke [Tue, 18 Nov 2003 06:20:41 +0000 (06:20 +0000)]
Regenerated using autoconf-2.57

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

21 years agoFix breakage caused by typos. Use 3-arg form of AC_DEFINE.
Brian Gaeke [Tue, 18 Nov 2003 06:19:27 +0000 (06:19 +0000)]
Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.

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

21 years agoUpdate to reflect the fact that llvm-nm can read archives now.
Brian Gaeke [Tue, 18 Nov 2003 06:18:09 +0000 (06:18 +0000)]
Update to reflect the fact that llvm-nm can read archives now.

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

21 years agoEmit the MachineConstantPool constants in one contiguous memory `pool'.
Misha Brukman [Mon, 17 Nov 2003 20:40:07 +0000 (20:40 +0000)]
Emit the MachineConstantPool constants in one contiguous memory `pool'.

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

21 years ago* Order #includes as per style guide
Misha Brukman [Mon, 17 Nov 2003 20:37:02 +0000 (20:37 +0000)]
* Order #includes as per style guide
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent

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

21 years agoImplement == and != correctly. Before they would incorrectly return !=
Chris Lattner [Mon, 17 Nov 2003 20:19:35 +0000 (20:19 +0000)]
Implement == and != correctly.  Before they would incorrectly return !=
for some constant exprs when they could really be the same value

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

21 years agoThe ConstantPointer class is now gone.
Chris Lattner [Mon, 17 Nov 2003 19:47:21 +0000 (19:47 +0000)]
The ConstantPointer class is now gone.

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

21 years agoAdded a check for the -R linker option.
John Criswell [Mon, 17 Nov 2003 19:46:02 +0000 (19:46 +0000)]
Added a check for the -R linker option.

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

21 years agoThis file was somehow missing a top-level comment line.
Misha Brukman [Mon, 17 Nov 2003 19:35:17 +0000 (19:35 +0000)]
This file was somehow missing a top-level comment line.

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

21 years agoNo REALLY, get rid of ConstantPointer references
Chris Lattner [Mon, 17 Nov 2003 19:21:04 +0000 (19:21 +0000)]
No REALLY, get rid of ConstantPointer references

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

21 years agoEliminate use of the ConstantPointer class
Chris Lattner [Mon, 17 Nov 2003 19:19:32 +0000 (19:19 +0000)]
Eliminate use of the ConstantPointer class

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

21 years agoConstant folding shalt not be built on annotations
Chris Lattner [Mon, 17 Nov 2003 19:05:17 +0000 (19:05 +0000)]
Constant folding shalt not be built on annotations

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

21 years agoRemove usage of ConstantPointer
Chris Lattner [Mon, 17 Nov 2003 17:28:29 +0000 (17:28 +0000)]
Remove usage of ConstantPointer

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

21 years agoBe a bit more tolerant of broken code
Chris Lattner [Mon, 17 Nov 2003 01:17:04 +0000 (01:17 +0000)]
Be a bit more tolerant of broken code

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

21 years agoFix copy-and-pasteo
Chris Lattner [Mon, 17 Nov 2003 01:07:58 +0000 (01:07 +0000)]
Fix copy-and-pasteo

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

21 years agoRegenerated using autoconf-2.57.
Brian Gaeke [Mon, 17 Nov 2003 00:31:43 +0000 (00:31 +0000)]
Regenerated using autoconf-2.57.

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

21 years agoEdit some comments slightly.
Brian Gaeke [Mon, 17 Nov 2003 00:30:48 +0000 (00:30 +0000)]
Edit some comments slightly.
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
 and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).

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

21 years agoadd PR117
Brian Gaeke [Sun, 16 Nov 2003 23:49:26 +0000 (23:49 +0000)]
add PR117

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

21 years agoDocument -disable-opt option that I added.
Brian Gaeke [Sun, 16 Nov 2003 23:39:11 +0000 (23:39 +0000)]
Document -disable-opt option that I added.

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

21 years agoInclude Support/FileUtilities.h.
Brian Gaeke [Sun, 16 Nov 2003 23:34:13 +0000 (23:34 +0000)]
Include Support/FileUtilities.h.
Print module identifier in DumpSymbolNamesFromModule().
In DumpSymbolNamesFromFile(), check whether it is an archive or a bytecode
 file, and call the corresponding reader function (ParseBytecodeFile or
 ReadArchiveFile).
Unconditionally set MultipleFiles for archives.
Fixes PR117.

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

21 years agoImplement skeletal support for __.SYMDEF (ranlib) sections in archives.
Brian Gaeke [Sun, 16 Nov 2003 23:08:48 +0000 (23:08 +0000)]
Implement skeletal support for __.SYMDEF (ranlib) sections in archives.
Correctly parse the Long Filename section of the archive.
When reading in archive members, set their ModuleIDs to
 "ARCHIVENAME(MEMBERNAME)", as is traditional.

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