[llvm] 8f89e2f - [AMDGPU] Remove dead and broken ComplexPatterns
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 26 04:49:33 PDT 2021
Author: Jessica Clarke
Date: 2021-08-26T12:48:32+01:00
New Revision: 8f89e2f6c94af5f0a8c6c6bc6b99bd657356317c
URL: https://github.com/llvm/llvm-project/commit/8f89e2f6c94af5f0a8c6c6bc6b99bd657356317c
DIFF: https://github.com/llvm/llvm-project/commit/8f89e2f6c94af5f0a8c6c6bc6b99bd657356317c.diff
LOG: [AMDGPU] Remove dead and broken ComplexPatterns
SelectADDRParam was discovered as being dead 5 years ago and removed in
7b4ef068c6f5 but the unused ComplexPattern definition was left behind.
SelectADDRDWord has never existed as far as I can tell, even back when
AMDGPU was R600-only and called that.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D108758
Added:
Modified:
llvm/lib/Target/AMDGPU/R600Instructions.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/R600Instructions.td b/llvm/lib/Target/AMDGPU/R600Instructions.td
index 055e2de59ea1d..dae97d8b63020 100644
--- a/llvm/lib/Target/AMDGPU/R600Instructions.td
+++ b/llvm/lib/Target/AMDGPU/R600Instructions.td
@@ -74,8 +74,6 @@ def FRAMEri : Operand<iPTR> {
let MIOperandInfo = (ops R600_Reg32:$ptr, i32imm:$index);
}
-def ADDRParam : ComplexPattern<i32, 2, "SelectADDRParam", [], []>;
-def ADDRDWord : ComplexPattern<i32, 1, "SelectADDRDWord", [], []>;
def ADDRVTX_READ : ComplexPattern<i32, 2, "SelectADDRVTX_READ", [], []>;
def ADDRGA_CONST_OFFSET : ComplexPattern<i32, 1, "SelectGlobalValueConstantOffset", [], []>;
def ADDRGA_VAR_OFFSET : ComplexPattern<i32, 2, "SelectGlobalValueVariableOffset", [], []>;
More information about the llvm-commits
mailing list