diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-12 23:02:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-12 23:02:32 +0000 |
commit | 02ae6902fa42b6914815b1b6371de12cef3677fa (patch) | |
tree | 3e746978cfd54fd1fbfa921aba971c6aae175003 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | e47dcd411a7cce65db598b0b0ec0ae9d3be227df (diff) | |
download | bcm5719-llvm-02ae6902fa42b6914815b1b6371de12cef3677fa.tar.gz bcm5719-llvm-02ae6902fa42b6914815b1b6371de12cef3677fa.zip |
Move the PPCSelectionDAGInfo off the TargetMachine and onto the
subtarget.
llvm-svn: 210854
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index 91d1746a8d0..3436095a22b 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -18,6 +18,7 @@ #include "PPCInstrInfo.h" #include "PPCISelLowering.h" #include "PPCJITInfo.h" +#include "PPCSelectionDAGInfo.h" #include "llvm/ADT/Triple.h" #include "llvm/IR/DataLayout.h" #include "llvm/MC/MCInstrItineraries.h" @@ -112,6 +113,7 @@ protected: PPCInstrInfo InstrInfo; PPCJITInfo JITInfo; PPCTargetLowering TLInfo; + PPCSelectionDAGInfo TSInfo; public: /// This constructor initializes the data members to match that @@ -147,6 +149,7 @@ public: const PPCInstrInfo *getInstrInfo() const { return &InstrInfo; } PPCJITInfo *getJITInfo() { return &JITInfo; } const PPCTargetLowering *getTargetLowering() const { return &TLInfo; } + const PPCSelectionDAGInfo *getSelectionDAGInfo() const { return &TSInfo; } /// initializeSubtargetDependencies - Initializes using a CPU and feature string /// so that we can use initializer lists for subtarget initialization. |