diff options
author | Eric Christopher <echristo@gmail.com> | 2014-07-02 00:10:09 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-07-02 00:10:09 +0000 |
commit | 1b1cef23236e2f3fbdec8a480d3504636c5a83fa (patch) | |
tree | 7249208f4c83ca3c2ca9aed13cd1866f7f7a8682 /llvm/lib/Target/XCore/XCoreSubtarget.cpp | |
parent | 99a5ba8b202bf7190087e25b42c49f201d0363f5 (diff) | |
download | bcm5719-llvm-1b1cef23236e2f3fbdec8a480d3504636c5a83fa.tar.gz bcm5719-llvm-1b1cef23236e2f3fbdec8a480d3504636c5a83fa.zip |
Move the subtarget dependent features from XCoreTargetMachine
down to the subtarget.
llvm-svn: 212147
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreSubtarget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/XCore/XCoreSubtarget.cpp b/llvm/lib/Target/XCore/XCoreSubtarget.cpp index 89ea03a88f6..7227411ba56 100644 --- a/llvm/lib/Target/XCore/XCoreSubtarget.cpp +++ b/llvm/lib/Target/XCore/XCoreSubtarget.cpp @@ -25,8 +25,8 @@ using namespace llvm; void XCoreSubtarget::anchor() { } -XCoreSubtarget::XCoreSubtarget(const std::string &TT, - const std::string &CPU, const std::string &FS) - : XCoreGenSubtargetInfo(TT, CPU, FS) -{ -} +XCoreSubtarget::XCoreSubtarget(const std::string &TT, const std::string &CPU, + const std::string &FS, const TargetMachine &TM) + : XCoreGenSubtargetInfo(TT, CPU, FS), + DL("e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32"), + InstrInfo(), FrameLowering(*this), TLInfo(TM), TSInfo(DL) {} |