Re: [GOOGLE] LIPO resolved node handling for inline clone references

2014-07-01 Thread Xinliang David Li
Ok, with minor fix to the comments: 1) Before possibly cloning --> Before possibly creating a new 2) It is not clear from the comments that the remaining references are from call statements in ipa cp clones that have not been fixed up. Possibly add a 3 line example to show the call statements call

[GOOGLE] LIPO resolved node handling for inline clone references

2014-07-01 Thread Teresa Johnson
This patch addresses an issue with looking up the resolved node rebuilding cgraph references during clone materialization. It is possible that in ipa-cp cases the resolved node was eliminated during inlining and indirect call promotion, but the clone still exists as a function call argument in an i