On 05/30/14 10:51, Kai Tietz wrote:
----- 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 :}
In that case, it's good to go.  OK for the trunk.

jeff

Reply via email to