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
Chris Lattner
a11f78167b
Finegrainify namespacification
...
llvm-svn: 10080
2003-11-19 06:14:38 +00:00
Chris Lattner
ffa9d511f9
Minor speedup to do less linear time searches of information we already have.
...
speeds up disassembly of kc++ by .6s
llvm-svn: 10079
2003-11-19 06:01:12 +00:00
Chris Lattner
2335331635
add new FAQ entry
...
llvm-svn: 10078
2003-11-19 05:53:12 +00:00
Chris Lattner
983c667a41
More bugz
...
llvm-svn: 10077
2003-11-19 01:08:24 +00:00
Chris Lattner
eedde31b7d
New testcase for PR 130
...
llvm-svn: 10076
2003-11-19 01:03:16 +00:00
Chris Lattner
74c55dd4f9
Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll
...
llvm-svn: 10075
2003-11-19 01:02:52 +00:00
Chris Lattner
c4cc197549
Testcase for PR131
...
llvm-svn: 10074
2003-11-18 23:46:07 +00:00
Chris Lattner
cf40b3f394
Add a few new bugs
...
llvm-svn: 10073
2003-11-18 23:04:02 +00:00
Chris Lattner
ef8c3fed25
new testcase for PR126
...
llvm-svn: 10072
2003-11-18 21:05:55 +00:00
Chris Lattner
47487608a9
New testcase for PR125
...
llvm-svn: 10071
2003-11-18 20:30:00 +00:00
Chris Lattner
05906cf0f0
Testcase for PR128
...
llvm-svn: 10070
2003-11-18 20:24:46 +00:00
Chris Lattner
8c09ecf0c9
Fix PR123
...
llvm-svn: 10069
2003-11-18 17:47:05 +00:00
John Criswell
956cf45674
Added the new GCC front end section to the table of contents.
...
llvm-svn: 10068
2003-11-18 16:08:49 +00:00
John Criswell
5e0f07e0c2
Added information on the GCC front end.
...
llvm-svn: 10067
2003-11-18 16:05:23 +00:00
Brian Gaeke
921440c309
Only use -Wl,-R. if HAVE_LINK_R.
...
llvm-svn: 10066
2003-11-18 06:31:17 +00:00
Chris Lattner
37d449d870
Add new bug fixed in the CFE
...
llvm-svn: 10065
2003-11-18 06:25:05 +00:00
Brian Gaeke
d2ca66ee8c
Regenerated using autoheader-2.57
...
llvm-svn: 10064
2003-11-18 06:21:24 +00:00
Brian Gaeke
3f6b856c7d
Regenerated using autoconf-2.57
...
llvm-svn: 10063
2003-11-18 06:20:41 +00:00
Brian Gaeke
3ed17192d0
Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
...
llvm-svn: 10062
2003-11-18 06:19:27 +00:00
Brian Gaeke
e86d843420
Update to reflect the fact that llvm-nm can read archives now.
...
llvm-svn: 10061
2003-11-18 06:18:09 +00:00
Misha Brukman
be755279f3
Emit the MachineConstantPool constants in one contiguous memory `pool'.
...
llvm-svn: 10060
2003-11-17 20:40:07 +00:00
Misha Brukman
fc16bb1af5
* Order #includes as per style guide
...
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent
llvm-svn: 10059
2003-11-17 20:37:02 +00:00
Chris Lattner
dc2e39191a
Implement == and != correctly. Before they would incorrectly return !=
...
for some constant exprs when they could really be the same value
llvm-svn: 10058
2003-11-17 20:19:35 +00:00
Chris Lattner
e120a73166
The ConstantPointer class is now gone.
...
llvm-svn: 10057
2003-11-17 19:47:21 +00:00
John Criswell
6ee0ed5745
Added a check for the -R linker option.
...
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Misha Brukman
4f7ce560d5
This file was somehow missing a top-level comment line.
...
llvm-svn: 10055
2003-11-17 19:35:17 +00:00
Chris Lattner
77f20dc13f
No REALLY, get rid of ConstantPointer references
...
llvm-svn: 10054
2003-11-17 19:21:04 +00:00