mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +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:
parent
ba890249ce
commit
d6fa8c166a
@ -445,6 +445,8 @@ void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II) const {
|
||||
// Get stack alignments.
|
||||
unsigned TargetAlign = MF.getTarget().getFrameInfo()->getStackAlignment();
|
||||
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
|
||||
// represented as 16 bits or we need special alignment, then we load the
|
||||
|
Loading…
Reference in New Issue
Block a user