aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
commit84e68b2994470dcdf67a6bac509c9790d1ae9782 (patch)
treeca2a6eaf79c4ae7e6a8a7b863822be447141ae48 /llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
parentff55593c40b1f589494a9ce1b6556a7567c6083c (diff)
downloadllvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.zip
llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.tar.gz
llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.tar.bz2
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, lib/Target/... edition. llvm-svn: 206842
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
index 406dbe0..edb9ff3 100644
--- a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
+++ b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "thumb2-it"
#include "ARM.h"
#include "ARMMachineFunctionInfo.h"
#include "Thumb2InstrInfo.h"
@@ -19,6 +18,8 @@
#include "llvm/CodeGen/MachineInstrBundle.h"
using namespace llvm;
+#define DEBUG_TYPE "thumb2-it"
+
STATISTIC(NumITs, "Number of IT blocks inserted");
STATISTIC(NumMovedInsts, "Number of predicated instructions moved");