One more bit of Altivec parameter passing.

llvm-svn: 48269
This commit is contained in:
Dale Johannesen 2008-03-12 00:49:20 +00:00
parent 192ff9b2d3
commit 19b4c2dfaf

View File

@ -1535,9 +1535,11 @@ PPCTargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op,
}
++VR_idx;
} else {
// This should be simple, but requires getting 16-byte aligned stack
// values.
assert(0 && "Loading VR argument not implemented yet!");
// Stack offset is aligned.
while (ArgOffset % 16 !=0) {
ArgOffset += PtrByteSize;
}
ArgOffset += 16;
needsLoad = true;
}
break;