From b8e67fc92b0a508e3782b782baa98a6d56d5d7ea Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 20 Oct 2010 01:10:01 +0000 Subject: [PATCH] Fix backwards conditional. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116897 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMExpandPseudoInsts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 39d7afa853d..0275a505e85 100644 --- a/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -607,7 +607,7 @@ bool ARMExpandPseudo::ExpandMBB(MachineBasicBlock &MBB) { *TII); } // If there's dynamic realignment, adjust for it. - if (!RI.needsStackRealignment(MF)) { + if (RI.needsStackRealignment(MF)) { MachineFrameInfo *MFI = MF.getFrameInfo(); unsigned MaxAlign = MFI->getMaxAlignment(); assert (!AFI->isThumb1OnlyFunction()); -- 2.34.1