Don't use all the #ifdefs to hide the stats counters and instead rely on
authorChandler Carruth <chandlerc@gmail.com>
Sat, 27 Jul 2013 10:17:49 +0000 (10:17 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 27 Jul 2013 10:17:49 +0000 (10:17 +0000)
commit8e3c4dc50e652c55dcaa49b5bc10722efcd815ff
treee92782ecba99a7abb4bfbe6d1bf6db3ba8c02584
parente8f5812a300144e269cea39c55d260e6f8934733
Don't use all the #ifdefs to hide the stats counters and instead rely on
their being optimized out in debug mode. Realistically, this just isn't
going to be the slow part anyways. This also fixes unused variable
warnings that are breaking LLD build bots. =/ I didn't see these at
first, and kept losing track of the fact that they were broken.

llvm-svn: 187297
llvm/lib/Transforms/Scalar/SROA.cpp