[llvm-commits] [llvm] r130558 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Eric Christopher echristo at apple.com
Fri Apr 29 16:12:02 PDT 2011


Author: echristo
Date: Fri Apr 29 18:12:01 2011
New Revision: 130558

URL: http://llvm.org/viewvc/llvm-project?rev=130558&view=rev
Log:
80-col.

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=130558&r1=130557&r2=130558&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Fri Apr 29 18:12:01 2011
@@ -2377,9 +2377,9 @@
     // to their spots on the stack so that they may be loaded by deferencing
     // the result of va_next.
     AFI->setVarArgsRegSaveSize(VARegSaveSize);
-    AFI->setVarArgsFrameIndex(
-                              MFI->CreateFixedObject(VARegSaveSize,
-                                                     ArgOffset + VARegSaveSize - VARegSize,
+    AFI->setVarArgsFrameIndex(MFI->CreateFixedObject(VARegSaveSize,
+                                                     ArgOffset + VARegSaveSize
+                                                     - VARegSize,
                                                      false));
     SDValue FIN = DAG.getFrameIndex(AFI->getVarArgsFrameIndex(),
                                     getPointerTy());
@@ -2396,7 +2396,7 @@
       SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i32);
       SDValue Store =
         DAG.getStore(Val.getValue(1), dl, Val, FIN,
-                     MachinePointerInfo::getFixedStack(AFI->getVarArgsFrameIndex()),
+                 MachinePointerInfo::getFixedStack(AFI->getVarArgsFrameIndex()),
                      false, false, 0);
       MemOps.push_back(Store);
       FIN = DAG.getNode(ISD::ADD, dl, getPointerTy(), FIN,
@@ -2525,10 +2525,11 @@
       if (index != lastInsIndex)
         {
           ISD::ArgFlagsTy Flags = Ins[index].Flags;
-          // FIXME: For now, all byval parameter objects are marked mutable. This can be
-          // changed with more analysis.
-          // In case of tail call optimization mark all arguments mutable. Since they
-          // could be overwritten by lowering of arguments in case of a tail call.
+          // FIXME: For now, all byval parameter objects are marked mutable. 
+          // This can be changed with more analysis.
+          // In case of tail call optimization mark all arguments mutable.
+          // Since they could be overwritten by lowering of arguments in case of
+          // a tail call.
           if (Flags.isByVal()) {
             unsigned VARegSize, VARegSaveSize;
             computeRegArea(CCInfo, MF, VARegSize, VARegSaveSize);





More information about the llvm-commits mailing list