fix for PR11655

changes i64 alignment from 64 to 32 for powerpc-darwin

llvm-svn: 148345
This commit is contained in:
Anton Yartsev 2012-01-17 22:40:00 +00:00
parent c193b16ea2
commit 68d773cb3d
1 changed files with 3 additions and 0 deletions

View File

@ -888,7 +888,10 @@ public:
: DarwinTargetInfo<PPC32TargetInfo>(triple) {
HasAlignMac68kSupport = true;
BoolWidth = BoolAlign = 32; //XXX support -mone-byte-bool?
LongLongAlign = 32;
SuitableAlign = 128;
DescriptionString = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
"i64:32:64-f32:32:32-f64:64:64-v128:128:128-n32";
}
virtual const char *getVAListDeclaration() const {
return "typedef char* __builtin_va_list;";