Re: GCN: Remove 'SGPR_OR_VGPR_REGNO_P' definition

2024-01-31 Thread Andrew Stubbs
) +#define LAST_SGPR_REG 101 +#define FIRST_VGPR_REG 160 +#define VGPR_REGNO(N) ((N)+FIRST_VGPR_REG) +#define LAST_VGPR_REG 415 +#define SGPR_OR_VGPR_REGNO_P(N) ((N)>=FIRST_VGPR_REG && (N) <= LAST_SGPR_REG) OK to push the attached "GCN: Remove 'SGPR_OR_

GCN: Remove 'SGPR_OR_VGPR_REGNO_P' definition (was: [PATCH v3 05/10] GCN back-end code)

2024-01-31 Thread Thomas Schwinge
fine LAST_SGPR_REG101 > +#define FIRST_VGPR_REG 160 > +#define VGPR_REGNO(N)((N)+FIRST_VGPR_REG) > +#define LAST_VGPR_REG415 > +#define SGPR_OR_VGPR_REGNO_P(N) ((N)>=FIRST_VGPR_REG && (N) <= LAST_SGPR_REG) OK to push the attached &q