Add skeleton target-specific SelectionDAGInfo files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101564 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/CMakeLists.txt b/lib/Target/PowerPC/CMakeLists.txt
index c997c5c..7ffc5eb 100644
--- a/lib/Target/PowerPC/CMakeLists.txt
+++ b/lib/Target/PowerPC/CMakeLists.txt
@@ -24,6 +24,7 @@
PPCRegisterInfo.cpp
PPCSubtarget.cpp
PPCTargetMachine.cpp
+ PPCSelectionDAGInfo.cpp
)
target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
new file mode 100644
index 0000000..b1f4a71
--- /dev/null
+++ b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
@@ -0,0 +1,22 @@
+//===-- PowerPCSelectionDAGInfo.cpp - PowerPC SelectionDAG Info -----------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the PowerPCSelectionDAGInfo class.
+//
+//===----------------------------------------------------------------------===//
+
+#define DEBUG_TYPE "powerpc-selectiondag-info"
+#include "PowerPCSelectionDAGInfo.h"
+using namespace llvm;
+
+PowerPCSelectionDAGInfo::PowerPCSelectionDAGInfo() {
+}
+
+PowerPCSelectionDAGInfo::~PowerPCSelectionDAGInfo() {
+}
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
new file mode 100644
index 0000000..e40b02c
--- /dev/null
+++ b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
@@ -0,0 +1,29 @@
+//===-- PowerPCSelectionDAGInfo.h - PowerPC SelectionDAG Info ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the PowerPC subclass for TargetSelectionDAGInfo.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef POWERPCCSELECTIONDAGINFO_H
+#define POWERPCCSELECTIONDAGINFO_H
+
+#include "llvm/Target/TargetSelectionDAGInfo.h"
+
+namespace llvm {
+
+class PowerPCSelectionDAGInfo : public TargetSelectionDAGInfo {
+public:
+ PowerPCSelectionDAGInfo();
+ ~PowerPCSelectionDAGInfo();
+};
+
+}
+
+#endif