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/PPCTargetMachine.cpp | |
parent | e47dcd411a7cce65db598b0b0ec0ae9d3be227df (diff) | |
download | llvm-02ae6902fa42b6914815b1b6371de12cef3677fa.zip llvm-02ae6902fa42b6914815b1b6371de12cef3677fa.tar.gz llvm-02ae6902fa42b6914815b1b6371de12cef3677fa.tar.bz2 |
Move the PPCSelectionDAGInfo off the TargetMachine and onto the
subtarget.
llvm-svn: 210854
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index dc23e95..9563b90 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -42,8 +42,7 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool is64Bit) : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL), - Subtarget(TT, CPU, FS, *this, is64Bit, OL), - TSInfo(Subtarget.getDataLayout()) { + Subtarget(TT, CPU, FS, *this, is64Bit, OL) { initAsmInfo(); } |