Commit Graph

9200 Commits

Author SHA1 Message Date
John Criswell 745d0a5414 Fixed another minor grammatical error.
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
Chris Lattner 7e5e456d96 Fix some problems with assertions printing
llvm-svn: 10129
2003-11-21 17:35:51 +00:00
Chris Lattner 9d72c2f229 improve error message
llvm-svn: 10128
2003-11-21 17:06:29 +00:00
Chris Lattner a29600046d Minor cleanups and simplifications
llvm-svn: 10127
2003-11-21 16:52:05 +00:00
John Criswell cc32e6e62a Minor grammatical and punctuation corrections.
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Brian Gaeke 71040f9251 Clean more qmtest files.
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner 3bf4fd9030 This function REALLY DOES return void
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Chris Lattner 8791e26de1 * Finegrainify namespacification
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll
   ... which eliminates a large number of annoying warnings.  I know misha
   will miss them though!

llvm-svn: 10123
2003-11-20 21:21:31 +00:00
Chris Lattner 4eb18ce26d Fix an all too common form of the 'Found global types that are not compatible' warning
llvm-svn: 10122
2003-11-20 21:04:35 +00:00
Chris Lattner 5eac2d6615 Bug
llvm-svn: 10121
2003-11-20 20:59:57 +00:00
Chris Lattner 72e6b0c252 New testcase for PR143
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke ce9a00cea6 Blow away compiled versions of qmtest classes on 'make clean'.
llvm-svn: 10119
2003-11-20 19:57:17 +00:00
Brian Gaeke 67ae512a4b Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
llvm-svn: 10118
2003-11-20 19:51:11 +00:00
Chris Lattner 16bbed20fa Bug
llvm-svn: 10117
2003-11-20 19:30:17 +00:00
Chris Lattner e5c6861b70 New testcase for PR132
llvm-svn: 10116
2003-11-20 19:27:12 +00:00
Chris Lattner 65334f117c Bug fix
llvm-svn: 10115
2003-11-20 19:11:47 +00:00
Misha Brukman 1df12628a0 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.

llvm-svn: 10114
2003-11-20 19:08:42 +00:00
Misha Brukman c0e6157f99 Add ability to search only for native shared object, and expose the
functionality to the rest of gccld.

llvm-svn: 10113
2003-11-20 19:08:06 +00:00
Chris Lattner f636784489 New testcase for PR141
llvm-svn: 10112
2003-11-20 19:05:21 +00:00
Chris Lattner 2af517281d Start using the nicer terminator auto-insertion API
llvm-svn: 10111
2003-11-20 18:25:24 +00:00
Chris Lattner 63a0ccff44 Spew symbolic types!
llvm-svn: 10110
2003-11-20 18:23:14 +00:00
Chris Lattner 18e5d5228a When spewing out warnings during function resolution, do not vomit out pages
and pages of non-symbolic types.

llvm-svn: 10109
2003-11-20 18:19:35 +00:00
Chris Lattner 9ab47d1625 Somehow I forgot poor little UnwindInst
*sniff*

llvm-svn: 10108
2003-11-20 18:11:56 +00:00
Chris Lattner 0e03ab67c3 * 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.

llvm-svn: 10107
2003-11-20 17:45:12 +00:00
Chris Lattner 1183b6f5b0 * 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.

llvm-svn: 10106
2003-11-20 17:44:37 +00:00
Misha Brukman aa525937c7 For consistency, removed space between function name and left paren in function
call, i.e. [ addPass (...) ]  =>  [ addPass(...) ]

llvm-svn: 10105
2003-11-20 06:26:15 +00:00
Misha Brukman d16a03727b * Doxygenified comments, simplifying them and shortening in the process
* Eliminated extra space

llvm-svn: 10104
2003-11-20 06:21:54 +00:00
Alkis Evlogimenos 0e9ded74c0 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.
llvm-svn: 10103
2003-11-20 03:32:25 +00:00
Chris Lattner c4fe9729a2 One new bug fixed, one old bug fixed.
llvm-svn: 10102
2003-11-20 01:07:41 +00:00
Chris Lattner 5a3a2398f4 Testcase for PR113
llvm-svn: 10101
2003-11-20 00:32:57 +00:00
Chris Lattner 2447ef59c4 Don't crash if we are printing an orphaned basic block!
llvm-svn: 10100
2003-11-20 00:09:43 +00:00
Brian Gaeke d2553359a8 Unbreak the "-" as filename hack.
llvm-svn: 10099
2003-11-19 22:15:00 +00:00
Chris Lattner 592db40359 bugz
llvm-svn: 10098
2003-11-19 22:05:38 +00:00
Brian Gaeke 618026afb2 Also print an error msg. for files we cannot currently deal with.
llvm-svn: 10097
2003-11-19 21:57:30 +00:00
Brian Gaeke 55447b4541 Fix PR134, by checking FileOpenable() on each input file before analyzing its
type.

llvm-svn: 10096
2003-11-19 21:52:09 +00:00
Chris Lattner b1b4359294 New testcase for PR133
llvm-svn: 10095
2003-11-19 21:37:52 +00:00
John Criswell f4720a1575 We now support different expectations for different OS's/architectures.
llvm-svn: 10094
2003-11-19 21:13:25 +00:00
Chris Lattner 29681dee09 Fine grainify namespaceification
llvm-svn: 10093
2003-11-19 21:08:57 +00:00
Chris Lattner 20816bc43e update test
llvm-svn: 10092
2003-11-19 19:47:36 +00:00
Chris Lattner efdc952714 Genericize tests
llvm-svn: 10091
2003-11-19 19:44:28 +00:00
Chris Lattner ff675bf580 Cleanup test
llvm-svn: 10090
2003-11-19 19:42:12 +00:00
Chris Lattner 45cfe54683 Really, there was a reason for me factoring that out
llvm-svn: 10089
2003-11-19 19:20:20 +00:00
Chris Lattner 1a02ca932c *** 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

llvm-svn: 10088
2003-11-19 19:10:23 +00:00
Chris Lattner c39fcfff0d Improve test portability
llvm-svn: 10087
2003-11-19 18:37:06 +00:00
Chris Lattner d19da4ce5b Fix testcase. This should no longer be XFAIL'd
llvm-svn: 10086
2003-11-19 18:34:44 +00:00
Chris Lattner 9c68fa3ab1 * 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

llvm-svn: 10085
2003-11-19 17:27:18 +00:00
Chris Lattner 8700c28ac9 Minor efficiency improvements, finegrainify namespacification
llvm-svn: 10084
2003-11-19 17:21:11 +00:00
Chris Lattner bf346b526f In the future, these slabs can be null...
llvm-svn: 10083
2003-11-19 17:20:42 +00:00
Chris Lattner 11e8f1b595 Minor efficiency improvements all over. Finegrainify Namespacification
llvm-svn: 10082
2003-11-19 17:17:36 +00:00
Chris Lattner e8de15976a Fine grainify namespacification, #include file that defines the interface!
llvm-svn: 10081
2003-11-19 16:06:55 +00:00