diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-09 02:10:08 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-09 02:10:08 +0000 |
commit | 157e5a6d10ffadff8b8789bf7701f5a04ae6e281 (patch) | |
tree | 220b7ac6090b5960217c02e81f860d3e0cdba73d /llvm/lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | a749f2ad476050e74bb79722e3f5b85d67b29609 (diff) | |
download | llvm-157e5a6d10ffadff8b8789bf7701f5a04ae6e281.zip llvm-157e5a6d10ffadff8b8789bf7701f5a04ae6e281.tar.gz llvm-157e5a6d10ffadff8b8789bf7701f5a04ae6e281.tar.bz2 |
Remove getDataLayout() from TargetSelectionDAGInfo (had no users)
Summary:
Remove empty subclass in the process.
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.
Reviewers: echristo
Subscribers: jholewinski, llvm-commits, rafael, yaron.keren, ted
Differential Revision: http://reviews.llvm.org/D11045
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 241780
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index cf603fe1..58dacca 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp @@ -53,7 +53,7 @@ PPCSubtarget::PPCSubtarget(const Triple &TT, const std::string &CPU, IsPPC64(TargetTriple.getArch() == Triple::ppc64 || TargetTriple.getArch() == Triple::ppc64le), TM(TM), FrameLowering(initializeSubtargetDependencies(CPU, FS)), - InstrInfo(*this), TLInfo(TM, *this), TSInfo(TM.getDataLayout()) {} + InstrInfo(*this), TLInfo(TM, *this) {} void PPCSubtarget::initializeEnvironment() { StackAlignment = 16; |