Page MenuHomePhabricator

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",
but this isn't actually used anywhere.

Using unsigned makes robust wrapping checks easier.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle created this revision.Nov 7 2018, 2:16 PM
msearles accepted this revision.Nov 7 2018, 2:27 PM

LGTM

This revision is now accepted and ready to land.Nov 7 2018, 2:27 PM
This revision was automatically updated to reflect the committed changes.