[llvm-commits] [llvm] r85016 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
Sylvere Teissier
sylvere.teissier at invia.fr
Fri Oct 30 07:27:25 PDT 2009
Dan Gohman a écrit :
>
> One problem I'm seeing is redundant PHIs. Sphereflake for example
> now gets code like this:
>
> %p.013.i = phi %struct.node_t* [ %p.0.be.i, %bb5.backedge.i ],
> [ %78, %bb9.i ] ; <%struct.node_t*> [#uses=1]
> %p.012.i = phi %struct.node_t* [ %p.0.be.i, %bb5.backedge.i ],
> [ %78, %bb9.i ] ; <%struct.node_t*> [#uses=1]
> %p.011.i = phi %struct.node_t* [ %p.0.be.i, %bb5.backedge.i ],
> [ %78, %bb9.i ] ; <%struct.node_t*> [#uses=1]
> %p.010.i = phi %struct.node_t* [ %p.0.be.i, %bb5.backedge.i ],
> [ %78, %bb9.i ] ; <%struct.node_t*> [#uses=1]
> %p.09.i = phi %struct.node_t* [ %p.0.be.i, %bb5.backedge.i ],
> [ %78, %bb9.i ] ; <%struct.node_t*> [#uses=7]
>
> Indvars can't eliminate these because they aren't a function of the
> canonical induction variable. These PHIs stick around and end up
> being allocated registers, which is suboptimal.
>
Any news about this problem ?
Do I need to create a bug report ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091030/a0f749fb/attachment.sig>
More information about the llvm-commits
mailing list