[AMDGPU] Garbage collect now unused dead code. NFCI.
authorDavide Italiano <davide@freebsd.org>
Sat, 1 Apr 2017 19:30:17 +0000 (19:30 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 1 Apr 2017 19:30:17 +0000 (19:30 +0000)
llvm-svn: 299310

llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp

index a352c6f..4ba4474 100644 (file)
@@ -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,
@@ -3680,15 +3679,6 @@ void AMDGPUAsmParser::cvtVOP3_2_mod(MCInst &Inst, const OperandVector &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) {
       // 1. This operand is input modifiers
   return Desc.OpInfo[OpNum].OperandType == AMDGPU::OPERAND_INPUT_MODS