Silence -Wunused-variable in release builds.
[llvm/stm8.git] / lib / Target / XCore / TargetInfo / XCoreTargetInfo.cpp
blob7aa8965c4ac68574180d97cb6768673bd5fbe656
1 //===-- XCoreTargetInfo.cpp - XCore Target Implementation -----------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
10 #include "XCore.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
13 using namespace llvm;
15 Target llvm::TheXCoreTarget;
17 extern "C" void LLVMInitializeXCoreTargetInfo() {
18 RegisterTarget<Triple::xcore> X(TheXCoreTarget, "xcore", "XCore");