[Modules] Consolidate the DEBUG_TYPE defines in NVPTX to the top of the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 19:53:55 +0000 (19:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 19:53:55 +0000 (19:53 +0000)
cpp file rather than in the header and then again in the cpp file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206778 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
lib/Target/NVPTX/NVPTXISelDAGToDAG.h

index 4fafb65c8262e72d3ad2b29c4c111bd793536c2d..406daa009bde8eec168ff8d651be2dfd292790ba 100644 (file)
@@ -11,6 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#define DEBUG_TYPE "nvptx-isel"
 #include "NVPTXISelDAGToDAG.h"
 #include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/Instructions.h"
@@ -20,9 +21,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Target/TargetIntrinsicInfo.h"
 
-#undef DEBUG_TYPE
-#define DEBUG_TYPE "nvptx-isel"
-
 using namespace llvm;
 
 static cl::opt<int>
index fda4e71ec8d53e126e93128c06153dd2ba8bc758..676fda4036013e91ea969ab9efaf5d6b655c9a78 100644 (file)
@@ -11,8 +11,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#define DEBUG_TYPE "nvptx-isel"
-
 #include "NVPTX.h"
 #include "NVPTXISelLowering.h"
 #include "NVPTXRegisterInfo.h"