[LLVMdev] PHI node operads

Duncan Sands baldrick at free.fr
Mon Oct 10 07:14:40 PDT 2011

Hi Carlos,

> I have a pass that duplicates all instructions and keeps a "reference
> map" of duplicated values, which is later used to update all the
> references, thus creating a whole copy of a previous function.

why don't you just call something like CloneFunction?

Ciao, Duncan.

More information about the llvm-dev mailing list