Change alignment for doubles to 32 bits which is what X86 has.

llvm-svn: 47234
This commit is contained in:
Anders Carlsson 2008-02-17 03:40:02 +00:00
parent f7e92acaba
commit ffd0992247
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ void TargetInfo::getFloatInfo(uint64_t &Size, unsigned &Align,
void TargetInfo::getDoubleInfo(uint64_t &Size, unsigned &Align,
const llvm::fltSemantics *&Format,
FullSourceLoc Loc) {
Size = Align = 64; // FIXME: implement correctly.
Size = 64; // FIXME: implement correctly.
Align = 32;
Format = &llvm::APFloat::IEEEdouble;
}
void TargetInfo::getLongDoubleInfo(uint64_t &Size, unsigned &Align,