[LLVMdev] Converting into SSA form

Eli Friedman eli.friedman at gmail.com
Sat Jun 5 02:33:09 PDT 2010

On Sat, Jun 5, 2010 at 2:03 AM, Chayan Sarkar <chayan.ju at gmail.com> wrote:
> But, the mem2reg pass removes all load store instructions. It replaces
> all variables by their if possible (kind of constant propagation). I
> have generated the bitcode of the source program and the applied the
> mem2reg pass and obviously not getting desired thing.
> What I want is convert it into SSA form without replacing any variable
> by their constant value. Please elaborate on your point.

Can you give a short sample program and what you expect the output to look like?


More information about the llvm-dev mailing list