This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix gcc warnings
ClosedPublic

Authored by Flakebi on Oct 6 2020, 1:48 AM.

Details

Summary

uint8_t types are implicitly promoted to int, leading to a
unsigned-signed comparison.

Thanks for the heads-up @uabelho.

Diff Detail

Event Timeline

Flakebi created this revision.Oct 6 2020, 1:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2020, 1:48 AM
Flakebi requested review of this revision.Oct 6 2020, 1:48 AM
uabelho accepted this revision.Oct 6 2020, 1:54 AM

Thanks!

This revision is now accepted and ready to land.Oct 6 2020, 1:54 AM
This revision was landed with ongoing or failed builds.Oct 6 2020, 2:01 AM
This revision was automatically updated to reflect the committed changes.