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; ++VR_idx;
} else { } else {
// This should be simple, but requires getting 16-byte aligned stack // Stack offset is aligned.
// values. while (ArgOffset % 16 !=0) {
assert(0 && "Loading VR argument not implemented yet!"); ArgOffset += PtrByteSize;
}
ArgOffset += 16;
needsLoad = true; needsLoad = true;
} }
break; break;