This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix sign comparison warnings from GCC
ClosedPublic

Authored by jlpeyton on Feb 1 2021, 1:55 PM.

Details

Summary

New affinity patch introduced legitimate sign-compare warnings that clang doesn't report but GCC-10 does. This removes the warnings by changing two variables types to unsigned.

Diff Detail

Event Timeline

jlpeyton created this revision.Feb 1 2021, 1:55 PM
jlpeyton requested review of this revision.Feb 1 2021, 1:55 PM
This revision is now accepted and ready to land.Feb 2 2021, 2:55 AM
This revision was landed with ongoing or failed builds.Feb 2 2021, 8:53 AM
This revision was automatically updated to reflect the committed changes.