[llvm] f16746a - [AMDGPU] Remove dead D16ImageDimIntrinsic and lookupD16ImageDimIntrinsic (NFC) (#221660)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 7 07:51:30 PDT 2026
Author: Kazu Hirata
Date: 2026-09-07T07:51:25-07:00
New Revision: f16746ae332fed263a69464e38085706e96dad9b
URL: https://github.com/llvm/llvm-project/commit/f16746ae332fed263a69464e38085706e96dad9b
DIFF: https://github.com/llvm/llvm-project/commit/f16746ae332fed263a69464e38085706e96dad9b.diff
LOG: [AMDGPU] Remove dead D16ImageDimIntrinsic and lookupD16ImageDimIntrinsic (NFC) (#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
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Removed:
################################################################################
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