[llvm-commits] [llvm] r116897 - /llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
Jim Grosbach
grosbach at apple.com
Tue Oct 19 18:10:01 PDT 2010
Author: grosbach
Date: Tue Oct 19 20:10:01 2010
New Revision: 116897
URL: http://llvm.org/viewvc/llvm-project?rev=116897&view=rev
Log:
Fix backwards conditional.
Modified:
llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp?rev=116897&r1=116896&r2=116897&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp Tue Oct 19 20:10:01 2010
@@ -607,7 +607,7 @@
*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());
More information about the llvm-commits
mailing list