----- Original Message ----- > On 05/30/2014 01:08 AM, Kai Tietz wrote: > > (define_predicate "sibcall_memory_operand" > > (match_operand 0 "memory_operand") > > { > > return CONSTANT_P (op); > > }) > > Surely that always returns false? Surely XEXP (op, 0) so that you look at > the > address, not the memory. > > > r~ >
Doh ... of course (define_predicate "sibcall_memory_operand" (match_operand 0 "memory_operand") { return CONSTANT_P (XEXP (op, 0)); }) Actually I tested the proper version :} Kai