summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit723159ef7762e5718fdf8caccd9e918040a6b590 (patch)
tree89c25262e529dd6df5d915a3de12b44470374fc6 /llvm/lib
parent73b4f71125d160e79a6c61306bbe1ec20d921bff (diff)
downloadbcm5719-llvm-723159ef7762e5718fdf8caccd9e918040a6b590.tar.gz
bcm5719-llvm-723159ef7762e5718fdf8caccd9e918040a6b590.zip
Fix backwards conditional.
llvm-svn: 116897
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 39d7afa853d..0275a505e85 100644
--- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud