[LLVMdev] Getting rid of phi instructions?
Teemu Rinta-aho
teemu.rinta-aho at nomadiclab.com
Wed Aug 31 02:35:37 PDT 2011
On 31.8.2011, at 11.41, Eli Friedman wrote:
> Mmm... reg2mem will transform IR with PHI's into IR without them, but
> it generates a bunch of alloca's, which I would assume are not cheap
> to lower to VHDL. You might have to write your own pass to get the
> precise transformation you're looking for.
Right. Thanks. I need to see the reg2mem source code.
Teemu
More information about the llvm-dev
mailing list