[llvm] 57effe2 - [AMDGPU] Remove dead glc1 handing in asm parser. NFC.
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 08:37:58 PDT 2021
Author: Stanislav Mekhanoshin
Date: 2021-03-19T08:37:47-07:00
New Revision: 57effe22050f48a490606d83daf07560948ece4c
URL: https://github.com/llvm/llvm-project/commit/57effe22050f48a490606d83daf07560948ece4c
DIFF: https://github.com/llvm/llvm-project/commit/57effe22050f48a490606d83daf07560948ece4c.diff
LOG: [AMDGPU] Remove dead glc1 handing in asm parser. NFC.
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 8a8831f22ff1f..d9ce76c49e348 100644
--- a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+++ b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
@@ -338,9 +338,6 @@ class AMDGPUOperand : public MCParsedAsmOperand {
bool isGDS() const { return isImmTy(ImmTyGDS); }
bool isLDS() const { return isImmTy(ImmTyLDS); }
bool isCPol() const { return isImmTy(ImmTyCPol); }
- // "CPol_GLC1" is a MatchClass of the CPOL_GLC1 operand with the default and
- // forced value of the GLC operand.
- bool isCPol_GLC1() const { return isImmTy(ImmTyCPol); }
bool isSWZ() const { return isImmTy(ImmTySWZ); }
bool isTFE() const { return isImmTy(ImmTyTFE); }
bool isD16() const { return isImmTy(ImmTyD16); }
@@ -1620,7 +1617,6 @@ class AMDGPUAsmParser : public MCTargetAsmParser {
void cvtMtbuf(MCInst &Inst, const OperandVector &Operands);
AMDGPUOperand::Ptr defaultCPol() const;
- AMDGPUOperand::Ptr defaultCPol_GLC1() const;
AMDGPUOperand::Ptr defaultSMRDOffset8() const;
AMDGPUOperand::Ptr defaultSMEMOffset() const;
@@ -6905,11 +6901,6 @@ AMDGPUOperand::Ptr AMDGPUAsmParser::defaultCPol() const {
return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyCPol);
}
-AMDGPUOperand::Ptr AMDGPUAsmParser::defaultCPol_GLC1() const {
- return AMDGPUOperand::CreateImm(this, CPol::GLC, SMLoc(),
- AMDGPUOperand::ImmTyCPol);
-}
-
void AMDGPUAsmParser::cvtMubufImpl(MCInst &Inst,
const OperandVector &Operands,
bool IsAtomic,
More information about the llvm-commits
mailing list