Skip to content

Commit bdcfcf6

Browse files
committed
Fix unused variable warning after 68bb005
Two of the newly-added STATISTIC variables are only used within LLVM_DEBUG blocks.
1 parent baceb79 commit bdcfcf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ using namespace PatternMatch;
5555
#define DEBUG_TYPE "lower-matrix-intrinsics"
5656

5757
STATISTIC(FlattenedMatrices, "Number of matrix flattenings");
58+
#ifndef NDEBUG
5859
STATISTIC(ReshapedMatrices, "Number of matrix reshapes");
5960
STATISTIC(SplitMatrices, "Number of matrix splits");
61+
#endif
6062

6163
static cl::opt<bool>
6264
FuseMatrix("fuse-matrix", cl::init(true), cl::Hidden,

0 commit comments

Comments
 (0)