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

Anton Korobeynikov anton at korobeynikov.info
Sun Oct 17 13:07:25 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.
Have you measured the impact of this pass? Both in compilation time
and new optimization opportunities?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list