[llvm] 536b8c5 - [AMDGPU][AsmParser] Remove the now-unused OptionalOperand structure.
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 03:01:47 PST 2022
Author: Ivan Kosarev
Date: 2022-11-28T11:00:05Z
New Revision: 536b8c537787b470f6107361b0aab4ff54a1b1ba
URL: https://github.com/llvm/llvm-project/commit/536b8c537787b470f6107361b0aab4ff54a1b1ba
DIFF: https://github.com/llvm/llvm-project/commit/536b8c537787b470f6107361b0aab4ff54a1b1ba.diff
LOG: [AMDGPU][AsmParser] Remove the now-unused OptionalOperand structure.
Became unused in https://reviews.llvm.org/D138492 .
Added:
Modified:
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
index 7bb1ac3bfc75f..0b4f2c6b59b66 100644
--- a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+++ b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
@@ -1819,13 +1819,6 @@ class AMDGPUAsmParser : public MCTargetAsmParser {
OperandMatchResultTy parseVOPD(OperandVector &Operands);
};
-struct OptionalOperand {
- const char *Name;
- AMDGPUOperand::ImmTy Type;
- bool IsBit;
- bool (*ConvertResult)(int64_t&);
-};
-
} // end anonymous namespace
// May be called with integer type with equivalent bitwidth.
More information about the llvm-commits
mailing list