[PATCH] D54230: AMDGPU/InsertWaitcnt: Consistently use uint32_t for scores / time points

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 14:16:44 PST 2018


nhaehnle created this revision.
nhaehnle added reviewers: msearles, rampitec, scott.linder, kanarayan.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl, arsenm.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D54230

Files:
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54230.173031.patch
Type: text/x-patch
Size: 10967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/b961e0d5/attachment.bin>


More information about the llvm-commits mailing list