Skip to content

Commit

Permalink
[AMDGPU][AsmParser][NFC] Remove an unused function.
Browse files Browse the repository at this point in the history
Was added in <https://reviews.llvm.org/D63293>, but never used.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D154331
  • Loading branch information
kosarev committed Jul 4, 2023
1 parent 39385c5 commit 1ef4716
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,10 +962,6 @@ class AMDGPUOperand : public MCParsedAsmOperand {

void addRegOperands(MCInst &Inst, unsigned N) const;

void addBoolRegOperands(MCInst &Inst, unsigned N) const {
addRegOperands(Inst, N);
}

void addRegOrImmOperands(MCInst &Inst, unsigned N) const {
if (isRegKind())
addRegOperands(Inst, N);
Expand Down

0 comments on commit 1ef4716

Please sign in to comment.