1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-28 06:35:49 +00:00

Fix backwards conditional.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116897 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-10-20 01:10:01 +00:00
parent f96e4bd2a3
commit b8e67fc92b

@ -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());