Skip to content

Commit

Permalink
AMDGPU: Correct type for waitcnt debug flag
Browse files Browse the repository at this point in the history
llvm-svn: 356206
  • Loading branch information
arsenm committed Mar 14, 2019
1 parent 07b9749 commit 0b31b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ DEBUG_COUNTER(ForceLgkmCounter, DEBUG_TYPE"-forcelgkm",
DEBUG_COUNTER(ForceVMCounter, DEBUG_TYPE"-forcevm",
"Force emit s_waitcnt vmcnt(0) instrs");

static cl::opt<unsigned> ForceEmitZeroFlag(
static cl::opt<bool> ForceEmitZeroFlag(
"amdgpu-waitcnt-forcezero",
cl::desc("Force all waitcnt instrs to be emitted as s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)"),
cl::init(0), cl::Hidden);
cl::init(false), cl::Hidden);

namespace {

Expand Down

0 comments on commit 0b31b24

Please sign in to comment.