This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fixed build warning
ClosedPublic

Authored by tpr on May 27 2018, 10:43 AM.

Details

Summary

Change-Id: I1b0f1871c9eb3f06ce82cd9bb81f5998f624a26e

Diff Detail

Repository
rL LLVM

Event Timeline

tpr created this revision.May 27 2018, 10:43 AM
tpr added a reviewer: arsenm.May 27 2018, 10:45 AM

What warning? I don’t see anything wrong here

nhaehnle accepted this revision.May 27 2018, 2:05 PM

It's an intrinsic vs. unsigned warning. LGTM.

This revision is now accepted and ready to land.May 27 2018, 2:05 PM

Can you add the explicit cast instead of introducing an if

This revision was automatically updated to reflect the committed changes.
tpr added a comment.May 29 2018, 1:20 AM

I used a cast instead of the extra if in the dcommitted version.