aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-20 01:10:01 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-20 01:10:01 +0000
commitb8e67fc92b0a508e3782b782baa98a6d56d5d7ea (patch)
tree13faddd1bc71d6cde64e1193686a879817801819
parentf96e4bd2a3b11928af75fb7472288930d16fec0b (diff)
Fix backwards conditional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116897 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 39d7afa853..0275a505e8 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());