Initial checkin of the rest of the skeleton target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14874 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Skeleton/SkeletonInstrInfo.cpp b/lib/Target/Skeleton/SkeletonInstrInfo.cpp
new file mode 100644
index 0000000..e81f64f
--- /dev/null
+++ b/lib/Target/Skeleton/SkeletonInstrInfo.cpp
@@ -0,0 +1,22 @@
+//===- SkeletonInstrInfo.cpp - Instruction Information ----------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This is where you implement methods for the TargetInstrInfo class.
+//
+//===----------------------------------------------------------------------===//
+
+#include "SkeletonInstrInfo.h"
+#include "llvm/CodeGen/MachineInstrBuilder.h"
+#include "SkeletonGenInstrInfo.inc" // Get info from Tablegen
+using namespace llvm;
+
+SkeletonInstrInfo::SkeletonInstrInfo()
+ : TargetInstrInfo(SkeletonInsts,
+ sizeof(SkeletonInsts)/sizeof(SkeletonInsts[0])){
+}