On Thu, May 21, 2015 at 8:36 PM, H.J. Lu <hjl.to...@gmail.com> wrote:

> I am testing this now.  I will check it in if there is no regression.

OK.

Maybe just :

;; Return true if OP is a GOT memory operand.
(define_predicate "GOT_memory_operand"
  (match_operand 0 "memory_operand")
{
  return CONSTANT_P ...
            && GET_CODE (...) == UNSPEC
            && XINT (...)
}

No point in using match_test in the above pattern.

Uros.

Reply via email to