[LLVMdev] How to insert phi

Chayan Sarkar chayan.ju at gmail.com
Thu May 13 00:06:21 PDT 2010


Thanks a lot.
Chayan

On Thu, May 13, 2010 at 11:44 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Chayan Sarkar wrote:
>>
>> Hi,
>> I am new to llvm. I have project in llvm. For that I need SSA form,
>> which is already implemented in llvm. Basically I want to know which
>> pass insert phi and converts it to SSA form in llvm .
>
> http://llvm.org/docs/Passes.html#mem2reg which is
> lib/Transforms/Utils/PromoteMemoryToRegister.cpp.
>
> Nick
>



More information about the llvm-dev mailing list