[llvm] [AMDGPU] Remove dead D16ImageDimIntrinsic and lookupD16ImageDimIntrinsic (NFC) (PR #221660)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 7 00:17:30 PDT 2026
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/221660
The corresponding TableGen table and callers were removed on June 21,
2018 in commit 7a9c03f484fee744b1cbcc45e77f949b4ebfcbee, leaving behind
the struct, the declaration, and the unused macro definition.
Assisted-by: Antigravity
>From a634bbd0d978f9a59dd00eb36657c94d66bced6f Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sat, 8 Aug 2026 16:15:09 -0700
Subject: [PATCH] [AMDGPU] Remove dead D16ImageDimIntrinsic and
lookupD16ImageDimIntrinsic (NFC)
The corresponding TableGen table and callers were removed on June 21,
2018 in commit 7a9c03f484fee744b1cbcc45e77f949b4ebfcbee, leaving behind
the struct, the declaration, and the unused macro definition.
Assisted-by: Antigravity
---
llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h | 6 ------
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 1 -
2 files changed, 7 deletions(-)
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
index 3668800bd46ad..7a6d85bd9a66a 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
@@ -40,12 +40,6 @@ struct RsrcIntrinsic {
};
const RsrcIntrinsic *lookupRsrcIntrinsic(unsigned Intr);
-struct D16ImageDimIntrinsic {
- unsigned Intr;
- unsigned D16HelperIntr;
-};
-const D16ImageDimIntrinsic *lookupD16ImageDimIntrinsic(unsigned Intr);
-
struct ImageDimIntrinsicInfo {
unsigned Intr;
unsigned BaseOpcode;
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
index 6c36db0ee1be3..173c88f6c17fd 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -45,7 +45,6 @@ using namespace llvm;
#include "AMDGPUGenInstrInfo.inc"
namespace llvm::AMDGPU {
-#define GET_D16ImageDimIntrinsics_IMPL
#define GET_ImageDimIntrinsicTable_IMPL
#define GET_RsrcIntrinsics_IMPL
#include "AMDGPUGenSearchableTables.inc"
More information about the llvm-commits
mailing list