HomePhabricator

[NVPTX] Fixes -Wrange-loop-analysis warnings

Authored by Mordante on Dec 22 2019, 10:27 AM.

Description

[NVPTX] Fixes -Wrange-loop-analysis warnings

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

Also removed the top-level const as requested by Aaron Ballman in similar
patches.

Differential Revision: https://reviews.llvm.org/D71812

Details

Committed
MordanteDec 22 2019, 10:27 AM
Differential Revision
D71812: [NVPTX] Fixes -Wrange-loop-analysis warnings
Parents
rG1b344e7967a7: [PowerPC] Fixes -Wrange-loop-analysis warnings
Branches
Unknown
Tags
Unknown