Skip to content

Commit

Permalink
AMDGPU: Silence unused warnings in waitcnt insertion pass in release …
Browse files Browse the repository at this point in the history
…build

Differential Revision: https://reviews.llvm.org/D48607

llvm-svn: 335669
  • Loading branch information
kzhuravl committed Jun 26, 2018
1 parent 67599c2 commit 7774777
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Expand Up @@ -393,7 +393,11 @@ class SIInsertWaitcnts : public MachineFunctionPass {
public:
static char ID;

SIInsertWaitcnts() : MachineFunctionPass(ID) {}
SIInsertWaitcnts() : MachineFunctionPass(ID) {
(void)ForceExpCounter;
(void)ForceLgkmCounter;
(void)ForceVMCounter;
}

bool runOnMachineFunction(MachineFunction &MF) override;

Expand Down

0 comments on commit 7774777

Please sign in to comment.