Quoting Richard Henderson <[email protected]>:
(define_predicate "call_address_operand" (match_code "symbol_ref,const,reg") { return (symbolic_operand (op, mode) || (GET_CODE (op) == REG)); })Nit. (define_predicate "call_address_operand" (ior (match_code "reg") (match_operand 0 "symbolic_operand")))
It doesn't like the predicates in their original order this way - it complains: ../../srcw/gcc/config/epiphany/predicates.md:25: reference to unknown predicate 'symbolic_operand'
Is there a way to have a predicate forward declaration?
