When processing the list of calls created by inlining, check each call
to see if the new call's callee is in the same SCC as the original
callee's. If so, mark the call as noinline.
This is an alternative to D98481, which forbids inlining functions in a
non-trivial SCC at all. This allows us to do one level of inlining, plus
inlining of any other calls to functions outside the SCC.
Hopefully fixes PR45253.
As I stated, I prefer this off by default, or the alternate patch:https://reviews.llvm.org/D121084