https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108984

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So there's interesting IPA summary on gen_rtx_CONST_INT.constprop/2274667

    find_slot_with_hash.constprop/2274668 function not considered for inlining
      freq:0.49 loop depth: 0 size: 6 time: 15 callee size:41 stack: 0
predicate: (op1,((unsigned long) #),(# + 64) > 128)
       op1 is compile time invariant
       op1 points to local or readonly memory
       op3 is compile time invariant

it looks like the parameter removal does not adjust the parameter number?
for the constprop clone the first parameter is constant VOIDmode (0), but
the second is unknown.  Not sure what '#' and op1 refer to for the
predicate though.  The above is from the IPA inline dump at WPA time.

Note I do not see redirect_to_unreachable being called with e->callee->m_uid ==
2274668 during WPA.  The function is called a lot, but too many times to
watch all of them (it's not called at LTRANS time at all).

Reply via email to