[LLVMdev] Getting rid of phi instructions?
teemu.rinta-aho at nomadiclab.com
Wed Aug 31 03:06:57 CDT 2011
On 30.8.2011, at 19.19, Eli Friedman wrote:
> reg2mem won't do quite this transformation... not sure exactly what you need.
I need to get rid of phis. This code is compiled from C++ and for some functions
there are no phis, but multiple call instructions. I am targeting hardware
in the end, and the next tool reading the IR does not like phis when it's generating VHDL.
My questions may be somewhat silly from the viewpoint of software compilation for a CPU.
More information about the LLVMdev