Re: predicate for getting declaration tree node for SUBREG

2012-09-24 Thread Richard Guenther
On Mon, Sep 24, 2012 at 3:01 PM, srinivas dama wrote: > Hi, > > I see there is predicate REG_EXPR for getting declaration node for a REG rtx. > It would be helpful If I get an equivalent predicate for a SUBREG rtx. > I couldn't find such thing. > > My requirement is : > > I need find out if an op

predicate for getting declaration tree node for SUBREG

2012-09-24 Thread srinivas dama
Hi, I see there is predicate REG_EXPR for getting declaration node for a REG rtx. It would be helpful If I get an equivalent predicate for a SUBREG rtx. I couldn't find such thing. My requirement is : I need find out if an operand is signed/unsigned from rtx.I am doing as below. rtx op0; tree