When we need to acquire the address of the next instruction through the link register, this will always be added to the entry block. Of course, since we're clobbering the link register, we need to make sure we save it first. However, the fact that we need to do this is only apparent at PEI time (i.e. after shrink-wrapping).
This patch simply disables shrink-wrapping on functions that need to do this - there's no sense at looking at anything further in this function since we are positive that we won't be able to shrink-wrap the function.
This fixes PR33547.