Initialize default double width and alignment

llvm-svn: 49899
This commit is contained in:
Nate Begeman 2008-04-18 05:49:49 +00:00
parent 26ed25253e
commit c00bed3871
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
// Set defaults. These should be overridden by concrete targets as needed.
CharIsSigned = true;
WCharWidth = WCharAlign = 32;
DoubleWidth = 64;
DoubleAlign = 32;
FloatFormat = &llvm::APFloat::IEEEsingle;
DoubleFormat = &llvm::APFloat::IEEEdouble;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;