mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 20:30:50 +00:00
Assert unhandled case.
llvm-svn: 31828
This commit is contained in:
parent
c110c2945e
commit
a1f032c03a
@ -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