LoopFlatten - CanWidenIV - Fix uninitialized variable warnings and use for-range...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Apr 2021 11:24:04 +0000 (12:24 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Apr 2021 11:24:20 +0000 (12:24 +0100)
commitb8aba76a4eab8e39008e243ebc2a3d0b56c1bd0c
treebe30c58d5b42bbaef0ea1b6840f9919743db3891
parent2901dc7575873ed4bdfa1d7a0e79020e7a9ffb3d
LoopFlatten - CanWidenIV - Fix uninitialized variable warnings and use for-range loop. NFCI.

Fix static analysis uninitialized variable warnings, and use for-range loop iteration across WideIVs array.
llvm/lib/Transforms/Scalar/LoopFlatten.cpp