AMDGPU/InsertWaitcnt: Consistently use uint32_t for scores / time points
authorNicolai Haehnle <nhaehnle@gmail.com>
Thu, 29 Nov 2018 11:06:21 +0000 (11:06 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Thu, 29 Nov 2018 11:06:21 +0000 (11:06 +0000)
commitab43bf60fec6b2067137a82483093700d0edabd2
tree8f97cae627d96227d52d475ca54d765a88032641
parentf96456c611d07296ea0cd6bea0fbc6f928caa7ad
AMDGPU/InsertWaitcnt: Consistently use uint32_t for scores / time points

Summary:
There is one obsolete reference to using -1 as an indication of "unknown",
but this isn't actually used anywhere.

Using unsigned makes robust wrapping checks easier.

Reviewers: msearles, rampitec, scott.linder, kanarayan

Subscribers: arsenm, kzhuravl, jvesely, wdng, yaxunl, dstuttard, llvm-commits, tpr, t-tye, hakzsam

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

llvm-svn: 347852
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp