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