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.
Paths
| Differential D54230
AMDGPU/InsertWaitcnt: Consistently use uint32_t for scores / time points ClosedPublic Authored by nhaehnle on Nov 7 2018, 2:16 PM.
Details Summary There is one obsolete reference to using -1 as an indication of "unknown", Using unsigned makes robust wrapping checks easier.
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptNov 7 2018, 2:16 PM nhaehnle added a child revision: D54231: AMDGPU/InsertWaitcnts: Remove the dependence on MachineLoopInfo.Nov 7 2018, 2:17 PM This revision is now accepted and ready to land.Nov 7 2018, 2:27 PM Closed by commit rL347852: AMDGPU/InsertWaitcnt: Consistently use uint32_t for scores / time points (authored by nha). · Explain WhyNov 29 2018, 3:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 173031 lib/Target/AMDGPU/SIInsertWaitcnts.cpp
|