reames added inline comments. ================ Comment at: lib/Transforms/IPO/FunctionAttrs.cpp:444 @@ +443,3 @@ + + unsigned UseIndex = std::distance(CS.arg_begin(), U); + ---------------- What prevents the U from being the callee? http://reviews.llvm.org/D14350