[PATCH] D19968: [scan-build] fix warnings emitted on LLVM Hexagon code base
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 07:06:47 PDT 2016
kparzysz accepted this revision.
kparzysz added a comment.
This revision is now accepted and ready to land.
LGTM. I added a minor comment, but it's not a blocker.
================
Comment at: lib/Target/Hexagon/HexagonInstrInfo.cpp:1304
@@ -1303,3 +1303,3 @@
// that operand has been constant extended.
- bool OpCExtended[4];
+ bool OpCExtended[4] = {false};
if (NumOperands > 4)
----------------
The array OpCExtended is initialized in the loop below (line 1308).
http://reviews.llvm.org/D19968
More information about the llvm-commits
mailing list