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 | 120ab480ab87e449f152e4b36823c13a80c9022a (patch) | |
| tree | 1b73b607afd3a80416cbf494613eb9ce3112010c /lib/Target/Alpha/AlphaTargetMachine.cpp | |
| parent | c7a37a52cd05c27aa0ddf743bfaf02cee4a2580e (diff) | |
begining alpha subtarget support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
| -rw-r--r-- | lib/Target/Alpha/AlphaTargetMachine.cpp | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index b20cfd36cd..8f26329405 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/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.  | 
