summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/RegisterFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/RegisterFile.cpp')
-rw-r--r--llvm/tools/llvm-mca/RegisterFile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/RegisterFile.cpp b/llvm/tools/llvm-mca/RegisterFile.cpp
index db4a0d17778..52b3e7716f8 100644
--- a/llvm/tools/llvm-mca/RegisterFile.cpp
+++ b/llvm/tools/llvm-mca/RegisterFile.cpp
@@ -16,7 +16,10 @@
#include "RegisterFile.h"
#include "Instruction.h"
+
+#ifndef NDEBUG
#include "llvm/Support/Debug.h"
+#endif
using namespace llvm;
OpenPOWER on IntegriCloud