Misha Brukman
f1dba07a89
Added note about PR140: gccld generates script to run apps and load libraries.
...
llvm-svn: 10143
2003-11-21 22:11:12 +00:00
Chris Lattner
c837881d43
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
...
would have caught this. *sigh*
llvm-svn: 10142
2003-11-21 21:57:29 +00:00
Chris Lattner
9ae9c45d43
Finegrainify namespacification
...
llvm-svn: 10138
2003-11-21 21:54:22 +00:00
Chris Lattner
ebbe1376b3
Get rid of using decls, finegrainify namespacification
...
llvm-svn: 10137
2003-11-21 21:52:10 +00:00
Chris Lattner
5f38817de9
* 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.
llvm-svn: 10136
2003-11-21 21:46:09 +00:00
Chris Lattner
4a92f545ba
Finegrainify namespacification
...
Print out the costs for functions that AREN'T inlined as well
llvm-svn: 10135
2003-11-21 21:45:31 +00:00
Chris Lattner
1b7c6e072b
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.
llvm-svn: 10134
2003-11-21 21:44:35 +00:00
Chris Lattner
1901b23d5d
Fix problem Reid was having with external globals and nonexternal linkage
...
llvm-svn: 10133
2003-11-21 20:33:27 +00:00
Chris Lattner
70c6fff394
Don't crash on bogus source value
...
llvm-svn: 10132
2003-11-21 20:27:35 +00:00
Chris Lattner
a1da49a55c
Finegrainify namespacification
...
llvm-svn: 10131
2003-11-21 20:23:48 +00:00
John Criswell
d38e92f298
Fixed another minor grammatical error.
...
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
Chris Lattner
797e88aee9
Fix some problems with assertions printing
...
llvm-svn: 10129
2003-11-21 17:35:51 +00:00
Chris Lattner
acd028d92a
improve error message
...
llvm-svn: 10128
2003-11-21 17:06:29 +00:00
Chris Lattner
2b7309dd1c
Minor cleanups and simplifications
...
llvm-svn: 10127
2003-11-21 16:52:05 +00:00
John Criswell
29fec87d2f
Minor grammatical and punctuation corrections.
...
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Brian Gaeke
8639bd254c
Clean more qmtest files.
...
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner
d7d8b26e78
This function REALLY DOES return void
...
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Chris Lattner
01ab0d2d7b
* 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
7c86880898
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
810180c090
Bug
...
llvm-svn: 10121
2003-11-20 20:59:57 +00:00
Chris Lattner
13cd6ef232
New testcase for PR143
...
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke
068882b92d
Blow away compiled versions of qmtest classes on 'make clean'.
...
llvm-svn: 10119
2003-11-20 19:57:17 +00:00
Brian Gaeke
45fa8ba070
Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
...
llvm-svn: 10118
2003-11-20 19:51:11 +00:00
Chris Lattner
63d39c80d8
Bug
...
llvm-svn: 10117
2003-11-20 19:30:17 +00:00
Chris Lattner
11c1fca771
New testcase for PR132
...
llvm-svn: 10116
2003-11-20 19:27:12 +00:00
Chris Lattner
82a141cfad
Bug fix
...
llvm-svn: 10115
2003-11-20 19:11:47 +00:00
Misha Brukman
c147a00407
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
f045db38cd
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
855932e76a
New testcase for PR141
...
llvm-svn: 10112
2003-11-20 19:05:21 +00:00
Chris Lattner
feeb3261f2
Start using the nicer terminator auto-insertion API
...
llvm-svn: 10111
2003-11-20 18:25:24 +00:00
Chris Lattner
071bf19ef5
Spew symbolic types!
...
llvm-svn: 10110
2003-11-20 18:23:14 +00:00
Chris Lattner
0128ea6e23
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
310dac2b01
Somehow I forgot poor little UnwindInst
...
*sniff*
llvm-svn: 10108
2003-11-20 18:11:56 +00:00
Chris Lattner
3aaa812969
* 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
ffcdbe02bf
* 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
19a9eeb585
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
f516afa0c0
* 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
6627a32ff9
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
acfceca7ea
One new bug fixed, one old bug fixed.
...
llvm-svn: 10102
2003-11-20 01:07:41 +00:00
Chris Lattner
ca034cad65
Testcase for PR113
...
llvm-svn: 10101
2003-11-20 00:32:57 +00:00
Chris Lattner
5ac68ed1bf
Don't crash if we are printing an orphaned basic block!
...
llvm-svn: 10100
2003-11-20 00:09:43 +00:00
Brian Gaeke
f67fef08c2
Unbreak the "-" as filename hack.
...
llvm-svn: 10099
2003-11-19 22:15:00 +00:00
Chris Lattner
05cd86140a
bugz
...
llvm-svn: 10098
2003-11-19 22:05:38 +00:00
Brian Gaeke
6669b6c511
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
1b0a946551
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
734620bc11
New testcase for PR133
...
llvm-svn: 10095
2003-11-19 21:37:52 +00:00
John Criswell
955d719a7c
We now support different expectations for different OS's/architectures.
...
llvm-svn: 10094
2003-11-19 21:13:25 +00:00
Chris Lattner
8c11d31e35
Fine grainify namespaceification
...
llvm-svn: 10093
2003-11-19 21:08:57 +00:00
Chris Lattner
541c95842f
update test
...
llvm-svn: 10092
2003-11-19 19:47:36 +00:00
Chris Lattner
de27290f6b
Genericize tests
...
llvm-svn: 10091
2003-11-19 19:44:28 +00:00