- Sep 23, 2008
-
-
Owen Anderson authored
llvm-svn: 56485
-
- Sep 22, 2008
-
-
Owen Anderson authored
just use LI::MergeValueAsValue, as its behavior in the presence of overlapping ranges isn't what StrongPHIElimination wants. llvm-svn: 56472
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
- Aug 14, 2008
-
-
Dan Gohman authored
llvm-svn: 54780
-
- Aug 13, 2008
-
-
Owen Anderson authored
llvm-svn: 54742
-
Owen Anderson authored
2) Conditionalize temporary insertion if we don't need it. llvm-svn: 54741
-
- Aug 07, 2008
-
-
Owen Anderson authored
Do a dominator walk when scheduling copies, rather than a DFS on the CFG. Also, fix a few problems when creating live intervals for temporaries created by phi elimination. llvm-svn: 54483
-
Owen Anderson authored
Correct handle cases where two phis are coalesced together, and correct break up the case where two different phis want to coalesce with the same vreg. llvm-svn: 54426
-
- Aug 06, 2008
-
-
Owen Anderson authored
llvm-svn: 54422
-
Owen Anderson authored
llvm-svn: 54421
-
- Aug 05, 2008
-
-
Owen Anderson authored
llvm-svn: 54371
-
Owen Anderson authored
llvm-svn: 54369
-
- Jul 30, 2008
-
-
Owen Anderson authored
Use existing LiveInterval methods to simplify live interval merging. Thanks to Evan for pointing these out. llvm-svn: 54225
-
Owen Anderson authored
When merging live intervals, we also need to merge in any live ranges that are inputs to two-address instructions that themselves define a range we already care about. llvm-svn: 54185
-
- Jul 29, 2008
-
-
Owen Anderson authored
When merging a PHI operand's live interval into the PHI's live interval, we need to merge over all liveranges in the operand's interval that share the relevant value number, not just the range that immediately precedes the PHI. llvm-svn: 54174
-
- Jul 26, 2008
-
-
Owen Anderson authored
Fix the issues originally addressed in r54070. After thinking about it some more, I realized that the right thing to do is to have StrongPHIElimination use its knowledge of the PHIs before they're erased to update the intervals appropriate. This is both simpler and more accurate than the alternative, which was having LIA figure it out when it renumbered things, plus it's just the right thing to do! llvm-svn: 54077
-
- Jul 25, 2008
-
-
Owen Anderson authored
to the handled set so it will get filtered out in future iterations. llvm-svn: 54065
-
Owen Anderson authored
llvm-svn: 54062
-
- Jul 24, 2008
-
-
Owen Anderson authored
Store the predecessor MBB in the PHIUnion, rather than an index, since the indices will change after renumbering. llvm-svn: 53985
-
- Jun 05, 2008
-
-
Owen Anderson authored
llvm-svn: 52016
-
Owen Anderson authored
llvm-svn: 52013
-
- Jun 04, 2008
-
-
Owen Anderson authored
Correctly construct live intervals for the copies we inserted into the predecessors of a block containing a PHI. llvm-svn: 51950
-
Owen Anderson authored
llvm-svn: 51922
-
- May 30, 2008
-
-
Owen Anderson authored
Preserve the register coallescer, and update live intervals more correctly by triggering a renumbering after phi elimination. llvm-svn: 51780
-
- May 13, 2008
-
-
Dan Gohman authored
address of the PassInfo directly instead of calling getPassInfo. This eliminates a bunch of dynamic initializations of static data. Also, fold RegisterPassBase into PassInfo, make a bunch of its data members const, and rearrange some code to initialize data members in constructors instead of using setter member functions. llvm-svn: 51022
-
Dan Gohman authored
several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
-
- Apr 02, 2008
-
-
Owen Anderson authored
node and its inputs. llvm-svn: 49070
-
Owen Anderson authored
unknown defining inst after PHI elimination. llvm-svn: 49069
-
- Apr 01, 2008
-
-
Owen Anderson authored
llvm-svn: 49043
-
- Mar 31, 2008
-
-
Owen Anderson authored
llvm-svn: 48973
-
- Mar 29, 2008
-
-
Owen Anderson authored
Remove some unneeded code for LiveInterval joining, and fix a bug in the Phi elimination algorithm where we were accidentally reasoning about the source rather than the destination. llvm-svn: 48936
-
- Mar 26, 2008
-
-
Owen Anderson authored
llvm-svn: 48811
-
- Mar 25, 2008
-
-
Owen Anderson authored
llvm-svn: 48803
-
Owen Anderson authored
llvm-svn: 48802
-
- Mar 24, 2008
-
-
Owen Anderson authored
llvm-svn: 48739
-
Owen Anderson authored
With this pass, StrongPHIElim can compile very simple testcases correctly. There's still a ways to go before it's ready for prime time, though. llvm-svn: 48719
-
- Mar 17, 2008
-
-
Owen Anderson authored
the coalescer. This doesn't really work, but gets us farther than before. llvm-svn: 48446
-
- Mar 12, 2008
-
-
Owen Anderson authored
llvm-svn: 48278
-
Owen Anderson authored
feed the PHI instructions. We'll need these IDs in order to update LiveIntervals properly. llvm-svn: 48277
-
- Mar 10, 2008
-
-
Owen Anderson authored
Move StrongPHIElimination after live interval analysis. This will make things happier down the road. llvm-svn: 48138
-