#
6a789953 |
| 05-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Use pop_back_val instead of back followed by pop_back.
llvm-svn: 122876
|
#
5a2bb998 |
| 05-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Use a worklist for later iterations just like ordinary instsimplify. The next step is to only process instructions in subloops if they have been modified by an earlier simplification.
llvm-svn: 1228
Use a worklist for later iterations just like ordinary instsimplify. The next step is to only process instructions in subloops if they have been modified by an earlier simplification.
llvm-svn: 122869
show more ...
|
#
4c51d122 |
| 05-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Change LoopInstSimplify back to a LoopPass. It revisits subloops rather than skipping them, but it should probably use a worklist and only revisit those instructions in subloops that have actually ch
Change LoopInstSimplify back to a LoopPass. It revisits subloops rather than skipping them, but it should probably use a worklist and only revisit those instructions in subloops that have actually changed. It should probably also use a worklist after the first iteration like instsimplify now does. Regardless, it's only 0.3% of opt -O2 time on 403.gcc if it replaces the instcombine placed in the middle of the loop passes.
llvm-svn: 122868
show more ...
|
#
b2a41e93 |
| 04-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Switch to the new style of asterisk placement.
llvm-svn: 122815
|
#
e9249693 |
| 04-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Address most of Duncan's review comments. Also, make LoopInstSimplify a simple FunctionPass. It probably doesn't have a reason to be a LoopPass, as it will probably drop the simple fixed point and ei
Address most of Duncan's review comments. Also, make LoopInstSimplify a simple FunctionPass. It probably doesn't have a reason to be a LoopPass, as it will probably drop the simple fixed point and either use RPO iteration or Duncan's approach in instsimplify of only revisiting instructions that have changed.
The next step is to preserve LoopSimplify. This looks like it won't be too hard, although the pass manager doesn't actually seem to respect when non-loop passes claim to preserve LCSSA or LoopSimplify. This will have to be fixed.
llvm-svn: 122791
show more ...
|
#
cab9a0ab |
| 03-Jan-2011 |
Cameron Zwarich <zwarich@apple.com> |
Add a new loop-instsimplify pass, with the intention of replacing the instance of instcombine that is currently in the middle of the loop pass pipeline. This commit only checks in the pass; it will h
Add a new loop-instsimplify pass, with the intention of replacing the instance of instcombine that is currently in the middle of the loop pass pipeline. This commit only checks in the pass; it will hopefully be enabled by default later.
llvm-svn: 122719
show more ...
|