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)
commit89934cbd344b6839f4d298b281998a9f48355bf1
treef4d1fb8eec302e9f5e994ed68ce298224de4d824
parent33ae89911311f83b6a093a421993a29aa687a0b2
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187297 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp