https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68857
--- Comment #3 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- IPA CP redirects edges for all callers including instrumentation thunks. Instrumentation thunks are always supposed to call their original nodes and therefore should be skipped.