Displaying 2 results from an estimated 2 matches for "operads".
Did you mean:
operands
2011 Oct 10
2
[LLVMdev] PHI node operads
Hi all,
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. How I was
doing it is calling "replaceUsesOfWith" in all the replicated
instructions.
This used to work on 2.9 and older, in svn it no longer does in the case
of PHI nodes,
2011 Oct 10
0
[LLVMdev] PHI node operads
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.