From: Jim Grosbach Date: Wed, 20 Oct 2010 01:10:01 +0000 (+0000) Subject: Fix backwards conditional. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b8e67fc92b0a508e3782b782baa98a6d56d5d7ea;p=oota-llvm.git Fix backwards conditional. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116897 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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());