AMDGPU: Correct type for waitcnt debug flag

llvm-svn: 356206
This commit is contained in:
Matt Arsenault 2019-03-14 21:23:59 +00:00
parent 07b97492d4
commit 0b31b24c13
1 changed files with 2 additions and 2 deletions
llvm/lib/Target/AMDGPU

View File

@ -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 {