[LLVMdev] Eliminate SSA Virtual registers

Benjamin Kramer benny.kra at gmail.com
Sat Feb 1 08:27:00 PST 2014


On 01.02.2014, at 16:47, nizam at cse.iitm.ac.in wrote:

> Hi,
> 
> is there a opt pass that replaces the SSA virtual registers to stack-variables? I want to eliminate the SSA virtual register from my IR. Kindly suggest 

Try the register to memory demotion pass. opt -reg2mem

- Ben





More information about the llvm-dev mailing list