public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8686] GCN: Remove 'SGPR_OR_VGPR_REGNO_P' definition
@ 2024-02-01 11:32 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2024-02-01 11:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f9eb021283d33846006330e73c4a12f9ffeb4d40

commit r14-8686-gf9eb021283d33846006330e73c4a12f9ffeb4d40
Author: Thomas Schwinge <tschwinge@baylibre.com>
Date:   Wed Jan 31 12:25:25 2024 +0100

    GCN: Remove 'SGPR_OR_VGPR_REGNO_P' definition
    
    ..., which was always (a) unused, and (b) bogus: always-false.
    
            gcc/
            * config/gcn/gcn.h (SGPR_OR_VGPR_REGNO_P): Remove.

Diff:
---
 gcc/config/gcn/gcn.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/config/gcn/gcn.h b/gcc/config/gcn/gcn.h
index c2afb5e91403..efe3c91511e5 100644
--- a/gcc/config/gcn/gcn.h
+++ b/gcc/config/gcn/gcn.h
@@ -180,7 +180,6 @@
 #define HARD_FRAME_POINTER_IS_ARG_POINTER   0
 #define HARD_FRAME_POINTER_IS_FRAME_POINTER 0
 
-#define SGPR_OR_VGPR_REGNO_P(N) ((N)>=FIRST_VGPR_REG && (N) <= LAST_SGPR_REG)
 #define SGPR_REGNO_P(N)		((N) <= LAST_SGPR_REG)
 #define VGPR_REGNO_P(N)		((N)>=FIRST_VGPR_REG && (N) <= LAST_VGPR_REG)
 #define AVGPR_REGNO_P(N)        ((N)>=FIRST_AVGPR_REG && (N) <= LAST_AVGPR_REG)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-01 11:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 11:32 [gcc r14-8686] GCN: Remove 'SGPR_OR_VGPR_REGNO_P' definition Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).