[llvm-commits] [llvm] r121370 - /llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp
Jim Grosbach
grosbach at apple.com
Thu Dec 9 08:14:46 PST 2010
Author: grosbach
Date: Thu Dec 9 10:14:46 2010
New Revision: 121370
URL: http://llvm.org/viewvc/llvm-project?rev=121370&view=rev
Log:
80 columns.
Modified:
llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp?rev=121370&r1=121369&r2=121370&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFrameInfo.cpp Thu Dec 9 10:14:46 2010
@@ -458,7 +458,8 @@
if (hasFP(MF) && AFI->hasStackFrame()) {
// Use frame pointer to reference fixed objects. Use it for locals if
// there are VLAs (and thus the SP isn't reliable as a base).
- if (isFixed || (MFI->hasVarSizedObjects() && !RegInfo->hasBasePointer(MF))) {
+ if (isFixed || (MFI->hasVarSizedObjects() &&
+ !RegInfo->hasBasePointer(MF))) {
FrameReg = RegInfo->getFrameRegister(MF);
return FPOffset;
} else if (MFI->hasVarSizedObjects()) {
@@ -517,8 +518,9 @@
if (!(Func)(Reg, STI.isTargetDarwin())) continue;
// Add the callee-saved register as live-in unless it's LR and
- // @llvm.returnaddress is called. If LR is returned for @llvm.returnaddress
- // then it's already added to the function and entry block live-in sets.
+ // @llvm.returnaddress is called. If LR is returned for
+ // @llvm.returnaddress then it's already added to the function and
+ // entry block live-in sets.
bool isKill = true;
if (Reg == ARM::LR) {
if (MF.getFrameInfo()->isReturnAddressTaken() &&
More information about the llvm-commits
mailing list