forked from OSchip/llvm-project
[AVR] Don't look for the TargetFrameLowering in the FrameLowering implementation
c.f. r364349 llvm-svn: 364632
This commit is contained in:
parent
fc4102417b
commit
2bc48f503a
|
@ -380,7 +380,7 @@ MachineBasicBlock::iterator AVRFrameLowering::eliminateCallFramePseudoInstr(
|
|||
// For adjcallstackdown we convert it into an 'adiw reg, <amt>' handling
|
||||
// the read and write of SP in I/O space.
|
||||
if (Amount != 0) {
|
||||
assert(TFI.getStackAlignment() == 1 && "Unsupported stack alignment");
|
||||
assert(getStackAlignment() == 1 && "Unsupported stack alignment");
|
||||
|
||||
if (Opcode == TII.getCallFrameSetupOpcode()) {
|
||||
fixStackStores(MBB, MI, TII, true);
|
||||
|
|
Loading…
Reference in New Issue