[llvm] r299310 - [AMDGPU] Garbage collect now unused dead code. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 1 12:30:17 PDT 2017
Author: davide
Date: Sat Apr 1 14:30:17 2017
New Revision: 299310
URL: http://llvm.org/viewvc/llvm-project?rev=299310&view=rev
Log:
[AMDGPU] Garbage collect now unused dead code. NFCI.
Modified:
llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp?rev=299310&r1=299309&r2=299310&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp Sat Apr 1 14:30:17 2017
@@ -1018,7 +1018,6 @@ public:
void cvtId(MCInst &Inst, const OperandVector &Operands);
void cvtVOP3_2_mod(MCInst &Inst, const OperandVector &Operands);
- void cvtVOP3_omod(MCInst &Inst, const OperandVector &Operands);
void cvtVOP3Impl(MCInst &Inst,
const OperandVector &Operands,
@@ -3678,15 +3677,6 @@ void AMDGPUAsmParser::cvtVOP3_2_mod(MCIn
} else {
cvtId(Inst, Operands);
}
-}
-
-void AMDGPUAsmParser::cvtVOP3_omod(MCInst &Inst, const OperandVector &Operands) {
- uint64_t TSFlags = MII.get(Inst.getOpcode()).TSFlags;
- if (TSFlags & SIInstrFlags::VOP3) {
- cvtVOP3OMod(Inst, Operands);
- } else {
- cvtId(Inst, Operands);
- }
}
static bool isRegOrImmWithInputMods(const MCInstrDesc &Desc, unsigned OpNum) {
More information about the llvm-commits
mailing list