[llvm-commits] [PATCH] Promote all possible memory to registers

Duncan Sands baldrick at free.fr
Tue Oct 19 06:55:15 PDT 2010


Hi Kenneth,

> This is a new pass, activated by the "-allmem2reg" switch for opt.  It
> is a generalization of the SSA algorithm, attempting to promote all
> non-volatile loads within a function, not just those from alloca's
> which haven't had their address taken.

unfortunately your patch does not apply to top-of-tree.

Ciao,

Duncan.



More information about the llvm-commits mailing list