summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-09-29 22:54:56 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-09-29 22:54:56 +0000
commita7a83b9255ea74dfa10f967629e424ddd8a5b49c (patch)
treed2df72977bde0714d37ed20ae8ff6b4e8f32b576 /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
parent0a1cd715d4f82e861cb7b21a5767ff898de87d51 (diff)
downloadbcm5719-llvm-a7a83b9255ea74dfa10f967629e424ddd8a5b49c.tar.gz
bcm5719-llvm-a7a83b9255ea74dfa10f967629e424ddd8a5b49c.zip
begining alpha subtarget support
llvm-svn: 23531
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaTargetMachine.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
index b20cfd36cd6..8f263294052 100644
--- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
@@ -18,6 +18,7 @@
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetMachineRegistry.h"
#include "llvm/Transforms/Scalar.h"
+#include "llvm/Support/Debug.h"
#include <iostream>
using namespace llvm;
@@ -62,8 +63,11 @@ AlphaTargetMachine::AlphaTargetMachine(const Module &M, IntrinsicLowering *IL,
const std::string &FS)
: TargetMachine("alpha", IL, true),
FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
- JITInfo(*this)
-{}
+ JITInfo(*this),
+ Subtarget(M, FS)
+{
+ DEBUG(std::cerr << "FS is " << FS << "\n");
+}
/// addPassesToEmitFile - Add passes to the specified pass manager to implement
/// a static compiler for this target.
OpenPOWER on IntegriCloud