aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/Common/InstructionEncoding.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-09-09 20:13:52 +0900
committerMatt Arsenault <arsenm2@gmail.com>2025-09-20 08:50:38 +0900
commit9d6a7e1dbf85eecadc522c341e9959122f46b2d3 (patch)
treebed185ccde897e46fbcf253c0b15970e345bdd4c /llvm/utils/TableGen/Common/InstructionEncoding.cpp
parent669b2f8a1951b6b9581c55f8bf539b8d84343b5f (diff)
downloadllvm-users/arsenm/codegen/remove-PointerLikeRegClass.zip
llvm-users/arsenm/codegen/remove-PointerLikeRegClass.tar.gz
llvm-users/arsenm/codegen/remove-PointerLikeRegClass.tar.bz2
CodeGen: Remove PointerLikeRegClass handling from codegenusers/arsenm/codegen/remove-PointerLikeRegClass
All uses have been migrated to RegClassByHwMode. This is now an implementation detail of InstrInfoEmitter for pseudoinstructions.
Diffstat (limited to 'llvm/utils/TableGen/Common/InstructionEncoding.cpp')
-rw-r--r--llvm/utils/TableGen/Common/InstructionEncoding.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/Common/InstructionEncoding.cpp b/llvm/utils/TableGen/Common/InstructionEncoding.cpp
index c6c006b..0a163fe 100644
--- a/llvm/utils/TableGen/Common/InstructionEncoding.cpp
+++ b/llvm/utils/TableGen/Common/InstructionEncoding.cpp
@@ -36,9 +36,6 @@ InstructionEncoding::findOperandDecoderMethod(const CodeGenTarget &Target,
Decoder = "Decode" + Record->getName().str() + "RegisterClass";
} else if (Record->isSubClassOf("RegClassByHwMode")) {
Decoder = "Decode" + Record->getName().str() + "RegClassByHwMode";
- } else if (Record->isSubClassOf("PointerLikeRegClass")) {
- Decoder = "DecodePointerLikeRegClass" +
- utostr(Record->getValueAsInt("RegClassKind"));
}
return {Decoder, true};