Remove an early-out in wait state counting which can never be
taken.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM.
Just to explain a bit more, I think that once we get to this check, one of the recursive calls on getWaitStatesSince must already have called IsExpired with the same WaitStates value, and that call can't have returned true otherwise getWaitStatesSince would have returned INTMAX and we'd have taken the continue on line 428. (This is assuming that the various IsExpiredFns are fairly sane in that they don't interpret their WaitStates argument differently depending on whether their MI argument is null or not.)