Mesa (main): ir3: Remove ir3_instr::name

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 31 20:53:19 UTC 2021


Module: Mesa
Branch: main
Commit: 9fd16168424edca3b2ce35c91e9449f6e8d1e154
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fd16168424edca3b2ce35c91e9449f6e8d1e154

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Aug 20 16:28:19 2021 +0200

ir3: Remove ir3_instr::name

Unused since the switch to new RA.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12487>

---

 src/freedreno/ir3/ir3.h       | 3 +--
 src/freedreno/ir3/ir3_print.c | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 9981ece8fb6..759be5f21ff 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -383,9 +383,8 @@ struct ir3_instruction {
       } input;
    };
 
-   /* When we get to the RA stage, we need instruction's position/name: */
+   /* For assigning jump offsets, we need instruction's position: */
    uint16_t ip;
-   uint16_t name;
 
    /* used for per-pass extra instruction data.
     *
diff --git a/src/freedreno/ir3/ir3_print.c b/src/freedreno/ir3/ir3_print.c
index c89ede172ff..32c84b44af9 100644
--- a/src/freedreno/ir3/ir3_print.c
+++ b/src/freedreno/ir3/ir3_print.c
@@ -75,7 +75,6 @@ print_instr_name(struct log_stream *stream, struct ir3_instruction *instr,
 #ifdef DEBUG
    mesa_log_stream_printf(stream, "%04u:", instr->serialno);
 #endif
-   mesa_log_stream_printf(stream, "%04u:", instr->name);
    mesa_log_stream_printf(stream, "%04u:", instr->ip);
    if (instr->flags & IR3_INSTR_UNUSED) {
       mesa_log_stream_printf(stream, "XXX: ");



More information about the mesa-commit mailing list