diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-09-29 22:54:56 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-09-29 22:54:56 +0000 |
commit | a7a83b9255ea74dfa10f967629e424ddd8a5b49c (patch) | |
tree | d2df72977bde0714d37ed20ae8ff6b4e8f32b576 /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | 0a1cd715d4f82e861cb7b21a5767ff898de87d51 (diff) | |
download | bcm5719-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.cpp | 8 |
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. |