[llvm] r364632 - [AVR] Don't look for the TargetFrameLowering in the FrameLowering implementation
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 01:35:22 PDT 2019
Author: dylanmckay
Date: Fri Jun 28 01:35:21 2019
New Revision: 364632
URL: http://llvm.org/viewvc/llvm-project?rev=364632&view=rev
Log:
[AVR] Don't look for the TargetFrameLowering in the FrameLowering implementation
c.f. r364349
Modified:
llvm/trunk/lib/Target/AVR/AVRFrameLowering.cpp
Modified: llvm/trunk/lib/Target/AVR/AVRFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRFrameLowering.cpp?rev=364632&r1=364631&r2=364632&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/AVR/AVRFrameLowering.cpp Fri Jun 28 01:35:21 2019
@@ -380,7 +380,7 @@ MachineBasicBlock::iterator AVRFrameLowe
// 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);
More information about the llvm-commits
mailing list