forked from OSchip/llvm-project
AMDGPU: Correct type for waitcnt debug flag
llvm-svn: 356206
This commit is contained in:
parent
07b97492d4
commit
0b31b24c13
|
@ -68,10 +68,10 @@ DEBUG_COUNTER(ForceLgkmCounter, DEBUG_TYPE"-forcelgkm",
|
||||||
DEBUG_COUNTER(ForceVMCounter, DEBUG_TYPE"-forcevm",
|
DEBUG_COUNTER(ForceVMCounter, DEBUG_TYPE"-forcevm",
|
||||||
"Force emit s_waitcnt vmcnt(0) instrs");
|
"Force emit s_waitcnt vmcnt(0) instrs");
|
||||||
|
|
||||||
static cl::opt<unsigned> ForceEmitZeroFlag(
|
static cl::opt<bool> ForceEmitZeroFlag(
|
||||||
"amdgpu-waitcnt-forcezero",
|
"amdgpu-waitcnt-forcezero",
|
||||||
cl::desc("Force all waitcnt instrs to be emitted as s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)"),
|
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 {
|
namespace {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue