[LLVMdev] mem2reg optimization

David Greene dag at cray.com
Mon Oct 6 09:44:40 PDT 2008


On Saturday 04 October 2008 16:51, Chris Lattner wrote:

> Great.  I'd like to get this in, but would really like to do a profile
> first.  Could you please include a testcase?  Even if it is something
> contrived with llvm-gcc, I would really like to understand what is
> going on.

Agreed.  I believe I have a testcase that shows the problem.

> > I still prefer Nicolas' solution if his use list ordering assumption
> > is valid.
>
> It isn't.

Ok then, I'll file an official bug with the testcase and then check this in to 
resolve the bug.

                                                -Dave



More information about the llvm-dev mailing list