[Modules] Consolidate the DEBUG_TYPE defines in NVPTX to the top of the

cpp file rather than in the header and then again in the cpp file.

llvm-svn: 206778
This commit is contained in:
Chandler Carruth 2014-04-21 19:53:55 +00:00
parent 5f1f26e891
commit a4a2066482
2 changed files with 1 additions and 5 deletions

View 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>

View File

@ -11,8 +11,6 @@
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "nvptx-isel"
#include "NVPTX.h"
#include "NVPTXISelLowering.h"
#include "NVPTXRegisterInfo.h"