Hello, On 11 Oct 11:21, Richard Henderson wrote: > On 10/09/2013 03:30 AM, Kirill Yukhin wrote: > > +;; Return true if OP is either -1 constant or stored in register. > > +(define_predicate "register_or_constm1_operand" > > + (ior (match_operand 0 "register_operand") > > + (match_test "op == constm1_rtx"))) > > This won't do the right thing, because you're not exposing > that const_int is a valid input. You need a match_code too. Thanks, fixed and checked in.
-- Thanks, K