This is an archive of the discontinued LLVM Phabricator instance.

Fixed warning about signed/unsigned comparison
ClosedPublic

Authored by rampitec on Jul 15 2020, 3:40 PM.

Details

Summary

I've got the report clang11 issues signed/unsigned mismatch
warning here. For some reason only clang11 seems to issue
this warning.

Diff Detail

Event Timeline

rampitec created this revision.Jul 15 2020, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2020, 3:40 PM
arsenm accepted this revision.Jul 17 2020, 10:32 AM
arsenm added inline comments.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
7410

static_cast? The constructory integer casts are weird

This revision is now accepted and ready to land.Jul 17 2020, 10:32 AM
rampitec updated this revision to Diff 278848.Jul 17 2020, 10:53 AM

Changed to static_cast.

arsenm accepted this revision.Jul 17 2020, 10:58 AM
This revision was automatically updated to reflect the committed changes.