Fix unused variable warning in LoopFusion pass.
authorKit Barton <kbarton@ca.ibm.com>
Thu, 25 Apr 2019 02:10:02 +0000 (02:10 +0000)
committerKit Barton <kbarton@ca.ibm.com>
Thu, 25 Apr 2019 02:10:02 +0000 (02:10 +0000)
commit8e64f0a64988df6e69f6aa847fec98d61d8c7fe3
treeb17bf594687b4e84aec0a5f50bcd89deecaf632c
parent7c8647b26f053c01071b8efb3a98d0cd1229f413
Fix unused variable warning in LoopFusion pass.

Do not wrap the contents of printFusionCandidates in the LLVM_DEBUG macro. This
fixes an unused variable warning generated when compiling without asserts but
with -DENABLE_LLVM_DUMP.

Differential Revision: https://reviews.llvm.org/D61035

llvm-svn: 359161
llvm/lib/Transforms/Scalar/LoopFuse.cpp