[LLVMdev] mem2reg optimization
Andrew Lenharth
andrewl at lenharth.org
Fri Sep 26 08:56:09 PDT 2008
On Fri, Sep 26, 2008 at 10:41 AM, David Greene <dag at cray.com> wrote:
> On Thursday 25 September 2008 13:15, David Greene wrote:
>> I like your approach of using the use lists but I'm not sure the ordering
>> is guaranteed. If it is, your approach is superior.
>
> I got my patch updated to work with TOT. Here it is. Comments welcome.
> I still prefer Nicolas' solution if his use list ordering assumption is valid.
Isn't the ordering an artifact of the creation of the users? If you
run mem2reg after other optimizations, why would you still have any
ordering guarantees?
Andrew
More information about the llvm-dev
mailing list