[llvm-commits] [llvm] r51947 - in /llvm/trunk/lib: Analysis/IPA/CallGraph.cpp Transforms/IPO/DeadArgumentElimination.cpp
matthijs at stdin.nl
Thu Jun 5 03:55:27 CDT 2008
> Actually, this can be checked in O(1) time by just calling
> I.getOperandNo(). If the use_iterator is for the callee operand of
> the function, then it is ok. If not, you know it is passing in the
> address of the function. The DeadArgElim code was written before
> getOperandNo() existed on use_iterator.
I fixed this for the DeadArgumentElimination. I left it unchanged for the
CallGraph code. It could be done there as well, but it requires some
restructuring of code I'm not really into.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.cs.uiuc.edu/pipermail/llvm-commits/attachments/20080605/c2129219/attachment.bin
More information about the llvm-commits