diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 00:09:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 00:09:06 +0000 |
commit | 5b3585871b17b06797b9fc361ef57be0281bedc9 (patch) | |
tree | c7e660335a4d86a1a9b709c57cf1adafb64fd9bf /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | ad92aca47c0f8f42e8656171e994788a62123fad (diff) | |
download | bcm5719-llvm-5b3585871b17b06797b9fc361ef57be0281bedc9.tar.gz bcm5719-llvm-5b3585871b17b06797b9fc361ef57be0281bedc9.zip |
Move PPC's getDataLayoutString out of line and document it better.
llvm-svn: 196987
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index c863a6ecc77..ec8c82ad521 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -126,22 +126,6 @@ public: /// selection. const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } - /// getDataLayoutString - Return the pointer size and type alignment - /// properties of this subtarget. - const char *getDataLayoutString() const { - // Note, the alignment values for f64 and i64 on ppc64 in Darwin - // documentation are wrong; these are correct (i.e. "what gcc does"). - if (isPPC64() && isSVR4ABI()) { - if (TargetTriple.getOS() == llvm::Triple::FreeBSD) - return "E-p:64:64-f64:64:64-i64:64:64-v128:128:128-n32:64"; - else - return "E-p:64:64-f64:64:64-i64:64:64-f128:128:128-v128:128:128-n32:64"; - } - - return isPPC64() ? "E-p:64:64-f64:64:64-i64:64:64-f128:64:128-n32:64" - : "E-p:32:32-f64:64:64-i64:64:64-f128:64:128-n32"; - } - /// \brief Reset the features for the PowerPC target. virtual void resetSubtargetFeatures(const MachineFunction *MF); private: |