mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Assert unhandled case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -445,6 +445,8 @@ void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II) const {
|
|||||||
// Get stack alignments.
|
// Get stack alignments.
|
||||||
unsigned TargetAlign = MF.getTarget().getFrameInfo()->getStackAlignment();
|
unsigned TargetAlign = MF.getTarget().getFrameInfo()->getStackAlignment();
|
||||||
unsigned MaxAlign = MFI->getMaxAlignment();
|
unsigned MaxAlign = MFI->getMaxAlignment();
|
||||||
|
assert(MaxAlign <= TargetAlign &&
|
||||||
|
"Dynamic alloca with large aligns not supported");
|
||||||
|
|
||||||
// Determine the previous frame's address. If FrameSize can't be
|
// Determine the previous frame's address. If FrameSize can't be
|
||||||
// represented as 16 bits or we need special alignment, then we load the
|
// represented as 16 bits or we need special alignment, then we load the
|
||||||
|
Reference in New Issue
Block a user