This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Fixes -Wrange-loop-analysis warnings
ClosedPublic

Authored by Mordante on Dec 22 2019, 8:29 AM.

Details

Summary

This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

Diff Detail

Event Timeline

Mordante created this revision.Dec 22 2019, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 22 2019, 8:29 AM
aaron.ballman accepted this revision.Dec 22 2019, 9:09 AM

LGTM with a request to drop top-level consts

llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
2338

Drop top-level const?

This revision is now accepted and ready to land.Dec 22 2019, 9:09 AM
This revision was automatically updated to reflect the committed changes.