#
557ab15e |
| 05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm
Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly.
llvm-svn: 33939
show more ...
|
#
a1d35926 |
| 05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1177: Revert last patch which caused iteration invalidation.
llvm-svn: 33901
|
#
f6fa1089 |
| 05-Feb-2007 |
Owen Anderson <resistor@mac.com> |
Use DenseMap for pointer->pointer maps.
llvm-svn: 33897
|
#
45f966d8 |
| 19-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
switch more statistics over to STATISTIC, eliminating static ctors. Also, delete some dead ones.
llvm-svn: 32694
|
#
700b8731 |
| 06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'.
llvm-svn: 32279
|
Revision tags: llvmorg-1.9.0 |
|
#
984d6e16 |
| 31-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
generalize the fix for PR977 to also fix Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll
llvm-svn: 31317
|
#
eb68f080 |
| 31-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Fix PR977 and Transforms/LCSSA/2006-10-31-UnreachableBlock.ll
llvm-svn: 31315
|
#
c2d3d311 |
| 27-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
|
#
38b6e838 |
| 02-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
Add special check to avoid isLoop call. Simple, but doesn't seem to speed up lcssa much in practice.
llvm-svn: 29465
|
#
5a2bc786 |
| 02-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
Replace the SSA update code in LCSSA with a bottom-up approach instead of a top down approach, inspired by discussions with Tanya.
This approach is significantly faster, because it does not need dom
Replace the SSA update code in LCSSA with a bottom-up approach instead of a top down approach, inspired by discussions with Tanya.
This approach is significantly faster, because it does not need dominator frontiers and it does not insert extraneous unused PHI nodes. For example, on 252.eon, in a release-asserts build, this speeds up LCSSA (which is the slowest pass in gccas) from 9.14s to 0.74s on my G5. This code is also slightly smaller and significantly simpler than the old code.
Amusingly, in a normal Release build (which includes the "assert(L->isLCSSAForm());" assertion), asserting that the result of LCSSA is in LCSSA form is actually slower than the LCSSA transformation pass itself on 252.eon. I will see if Loop::isLCSSAForm can be sped up next.
llvm-svn: 29463
show more ...
|
#
fe6e97d2 |
| 09-Jul-2006 |
Owen Anderson <resistor@mac.com> |
Fix typo in the comment.
llvm-svn: 29078
|
#
aecaabb6 |
| 09-Jul-2006 |
Owen Anderson <resistor@mac.com> |
Add a fix for an issue where LCSSA would fail to insert undef's in some corner cases. Ideally, this issue will go away in the future as LCSSA gets smarter about which Phi nodes it inserts.
llvm-svn
Add a fix for an issue where LCSSA would fail to insert undef's in some corner cases. Ideally, this issue will go away in the future as LCSSA gets smarter about which Phi nodes it inserts.
llvm-svn: 29076
show more ...
|
#
e3abb145 |
| 14-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Use the PotDoms map to memoize 'dominating value' lookup. With this patch, LCSSA is still the slowest pass when gccas'ing 252.eon, but now it only takes 39s instead of 289s. :)
llvm-svn: 28776
|
#
e714a5c5 |
| 13-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Fix another instance where PHI nodes need special treatment.
llvm-svn: 28774
|
#
3f8ff044 |
| 13-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Fix a bug that was causing major slowdowns in povray. This was due to LCSSA not handling PHI nodes correctly when determining if a value was live-out.
This patch reduces the number of detected live
Fix a bug that was causing major slowdowns in povray. This was due to LCSSA not handling PHI nodes correctly when determining if a value was live-out.
This patch reduces the number of detected live-out variables in the testcase from 6565 to 485.
llvm-svn: 28771
show more ...
|
#
0ac33696 |
| 12-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Fix for 2006-06-26-MultipleExitsSingleBlock.
If a single exit block has multiple predecessors within the loop, it will appear in the exit blocks list more than once. LCSSA needs to take that into a
Fix for 2006-06-26-MultipleExitsSingleBlock.
If a single exit block has multiple predecessors within the loop, it will appear in the exit blocks list more than once. LCSSA needs to take that into account so that it doesn't double process that exit block.
llvm-svn: 28750
show more ...
|
#
b538f14d |
| 11-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Re-commit the safe parts of my 6/9 patch. Still working on fixing the unsafe parts.
llvm-svn: 28748
|
#
1b6e310e |
| 11-Jun-2006 |
Evan Cheng <evan.cheng@apple.com> |
Back out Owen's 6/9 changes. They broke MultiSource/Benchmarks/Prolangs-C/bison (and perhaps others).
llvm-svn: 28747
|
#
505adff3 |
| 09-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass assert on this.
llvm-svn: 28738
|
#
5d029264 |
| 08-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Update some comments, and expose LCSSAID in preparation for having other passes require LCSSA.
llvm-svn: 28734
|
#
ac601b4c |
| 06-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Fix some formatting, and use inLoop() when appropriate.
llvm-svn: 28694
|
#
9e81c1bb |
| 06-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Stop a memory leak, and update some comments.
llvm-svn: 28693
|
#
766f90b0 |
| 04-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Some more clean-up, and squash an IDF-Phi related bug.
llvm-svn: 28680
|
#
eb33815f |
| 04-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Various clean-ups suggested by Chris.
llvm-svn: 28678
|
#
d00eacc4 |
| 03-Jun-2006 |
Owen Anderson <resistor@mac.com> |
Fix a bug in Phi-noded insertion. Also, update some comments to reflect what's actually going on.
llvm-svn: 28677
|