diff options
Diffstat (limited to 'lib/Target/TGSI/TargetInfo/TGSITargetInfo.cpp')
-rw-r--r-- | lib/Target/TGSI/TargetInfo/TGSITargetInfo.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/Target/TGSI/TargetInfo/TGSITargetInfo.cpp b/lib/Target/TGSI/TargetInfo/TGSITargetInfo.cpp new file mode 100644 index 00000000000..bf7a8b5d736 --- /dev/null +++ b/lib/Target/TGSI/TargetInfo/TGSITargetInfo.cpp @@ -0,0 +1,19 @@ +//===-- TGSITargetInfo.cpp - TGSI Target Implementation -----------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "TGSI.h" +#include "llvm/IR/Module.h" +#include "llvm/Support/TargetRegistry.h" +using namespace llvm; + +Target llvm::TheTGSITarget; + +extern "C" void LLVMInitializeTGSITargetInfo() { + RegisterTarget<Triple::tgsi> X(TheTGSITarget, "tgsi", "TGSI"); +} |