projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the llvm mangler depend only on DataLayout.
[oota-llvm.git]
/
lib
/
Target
/
XCore
/
XCoreSubtarget.cpp
diff --git
a/lib/Target/XCore/XCoreSubtarget.cpp
b/lib/Target/XCore/XCoreSubtarget.cpp
index 3dd712f834d2d8a8512c6e8d3fcfb425d802cd2b..8cfb77089f319c6574a44d41aaa3d95e677a56e8 100644
(file)
--- a/
lib/Target/XCore/XCoreSubtarget.cpp
+++ b/
lib/Target/XCore/XCoreSubtarget.cpp
@@
-1,4
+1,4
@@
-//===-
XCoreSubtarget.cpp - XCore Subtarget Information -----------*- C++ -*-
=//
+//===-
- XCoreSubtarget.cpp - XCore Subtarget Information ------------------==
=//
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
@@
-7,21
+7,24
@@
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
-// This file implements the XCore specific subclass of TargetSubtarget.
+// This file implements the XCore specific subclass of TargetSubtarget
Info
.
//
//===----------------------------------------------------------------------===//
#include "XCoreSubtarget.h"
#include "XCore.h"
//
//===----------------------------------------------------------------------===//
#include "XCoreSubtarget.h"
#include "XCore.h"
-#include "XCoreGenSubtarget.inc"
+#include "llvm/Support/TargetRegistry.h"
+
+#define GET_SUBTARGETINFO_TARGET_DESC
+#define GET_SUBTARGETINFO_CTOR
+#include "XCoreGenSubtargetInfo.inc"
+
using namespace llvm;
using namespace llvm;
-XCoreSubtarget::XCoreSubtarget(const std::string &TT, const std::string &FS)
- : IsXS1A(false),
- IsXS1B(false)
-{
- std::string CPU = "xs1b-generic";
+void XCoreSubtarget::anchor() { }
- // Parse features string.
- ParseSubtargetFeatures(FS, CPU);
+XCoreSubtarget::XCoreSubtarget(const std::string &TT,
+ const std::string &CPU, const std::string &FS)
+ : XCoreGenSubtargetInfo(TT, CPU, FS)
+{
}
}