Hello, In RTL land it's not trivial to find a CALL rtx inside a CALL_INSN, and code to find the CALL is duplicated in a few places. The attached patch cleans this up.
Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk? Ciao! Steven P.S. question: when is XEXP(call,0) _not_ a MEM?
get_call_rtx_from.diff
Description: Binary data