Skip to content

Commit 1cbed4f

Browse files
authored
[NFC][AMDGPU] Remove unused TableGen generated enum (#171170)
This GenericEnum was just adding separate values for VOP3P_Pseudo opcodes in the same namespace as existing opcodes that did not match. They were defined in AMDGPUGenSearchableTables.inc by tablegen emitter but were guarded out by #ifdef. Because of that, they were never included in the code, so the compiler never reported the naming conflict and the bug never had a chance to surface.
1 parent bf93440 commit 1cbed4f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Target/AMDGPU/VOP3PInstructions.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,16 +1364,10 @@ class WMMAOpcodeMapping<Instruction TwoAddr, Instruction ThreeAddr> {
13641364
field bit is_wmma_xdl;
13651365
}
13661366

1367-
def WMMAOpcode : GenericEnum {
1368-
let FilterClass = "VOP3P_Pseudo";
1369-
}
1370-
13711367
class WMMAMappingTable : GenericTable {
13721368
let FilterClass = "WMMAOpcodeMapping";
13731369
let CppTypeName = "WMMAOpcodeMappingInfo";
13741370
let Fields = ["Opcode2Addr", "Opcode3Addr"];
1375-
string TypeOf_Opcode2Addr = "WMMAOpcode";
1376-
string TypeOf_Opcode3Addr = "WMMAOpcode";
13771371
}
13781372

13791373
def WMMAOpcode2AddrMappingTable : WMMAMappingTable {

0 commit comments

Comments
 (0)