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 decl0;
 decl0 = REG_EXPR (op0);
 unsignedp =TYPE_UNSIGNED (TREE_TYPE (decl0)):


But if my rtx is SUBREG ,I couldn't find equivalent predicate similar
to REG_EXPR.



Regards,
srinivas

Reply via email to