[PATCH] D19900: [scan-build] fix dead store warnings emitted on LLVM Hexagon code base

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 09:55:39 PDT 2016


kparzysz added a comment.

You're right.  Maybe the best thing to do would be to initialize OpStart to OpEnd, and add an assert:

if (Changed) {

  assert(OpStart < OpEnd);
  for (...) ...

}


http://reviews.llvm.org/D19900





More information about the llvm-commits mailing list