Displaying 1 result from an estimated 1 matches for "1018811".
Did you mean:
1018,11
2011 Oct 21
2
[LLVMdev] Replacing uses within a function
Hi all,
I am trying to replace all uses of a value1 *inside of a given function*
to use value2. My strategy was to iterate all the basic blocks, again
iterating all the instructions in each basic block, and using
replaceUsesOfWith(value1, value2) for every instruction.
This used to work all right, but now I am finding some problems. There
are instructions like this:
store i32 0, i32*