Displaying 4 results from an estimated 4 matches for "correlatedvalueprop".
2013 Jul 29
5
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...to the community for discussion and approval.
>
> Thanks
> Shuxin
I don't have any objection to this as long as your compile times are comparable.
The major differences that I could spot are:
You've moved the second iteration of some scalar opts into post-IPO:
- JumpThreading
- CorrelatedValueProp
You no longer run InstCombine after the first round of scalar opts (in preIPO) and before the second round (in PostIPO).
You now have an extra (3rd) SROA in PostIPO.
I don't see a problem, but I'd like to understand the rationale. I think it would be valuable to capture some of the motiv...
2013 Jul 29
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...; > Thanks
> > Shuxin
>
> I don't have any objection to this as long as your compile times are
> comparable.
>
> The major differences that I could spot are:
>
> You've moved the second iteration of some scalar opts into post-IPO:
> - JumpThreading
> - CorrelatedValueProp
>
> You no longer run InstCombine after the first round of scalar opts
> (in preIPO) and before the second round (in PostIPO).
>
> You now have an extra (3rd) SROA in PostIPO.
>
> I don't see a problem, but I'd like to understand the rationale. I
> think it would...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...PM.add(createSROAPass(/*RequiresDomTree*/ false));
+ else
+ MPM.add(createScalarReplAggregatesPass(-1, false));
+
+ MPM.add(createEarlyCSEPass()); // Catch trivial redundancies
+ MPM.add(createJumpThreadingPass()); // Thread jumps.
+ MPM.add(createCorrelatedValuePropagationPass());// Propagate conditionals
+ MPM.add(createCFGSimplificationPass()); // Merge & remove BBs
+ MPM.add(createInstructionCombiningPass()); // Combine silly seq's
+ MPM.add(createReassociatePass()); // Reassociate expressions
+ MPM.add(createLoopR...
2013 Jul 18
3
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
Andy and I briefly discussed this the other day, we have not yet got
chance to list a detailed pass order
for the pre- and post- IPO scalar optimizations.
This is wish-list in our mind:
pre-IPO: based on the ordering he propose, get rid of the inlining (or
just inline tiny func), get rid of
all loop xforms...
post-IPO: get rid of inlining, or maybe we still need it, only