[llvm] r298637 - Kill some trailing whitespace to make some new changes a bit easier.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 12:41:10 PDT 2017


Author: echristo
Date: Thu Mar 23 14:41:10 2017
New Revision: 298637

URL: http://llvm.org/viewvc/llvm-project?rev=298637&view=rev
Log:
Kill some trailing whitespace to make some new changes a bit easier.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=298637&r1=298636&r2=298637&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Thu Mar 23 14:41:10 2017
@@ -2781,7 +2781,7 @@ bool llvm::CC_PPC32_SVR4_Custom_AlignArg
   return false;
 }
 
-bool 
+bool
 llvm::CC_PPC32_SVR4_Custom_SkipLastArgRegsPPCF128(unsigned &ValNo, MVT &ValVT,
                                                   MVT &LocVT,
                                                   CCValAssign::LocInfo &LocInfo,
@@ -2796,7 +2796,7 @@ llvm::CC_PPC32_SVR4_Custom_SkipLastArgRe
   unsigned RegNum = State.getFirstUnallocated(ArgRegs);
   int RegsLeft = NumArgRegs - RegNum;
 
-  // Skip if there is not enough registers left for long double type (4 gpr regs 
+  // Skip if there is not enough registers left for long double type (4 gpr regs
   // in soft float mode) and put long double argument on the stack.
   if (RegNum != NumArgRegs && RegsLeft < 4) {
     for (int i = 0; i < RegsLeft; i++) {
@@ -5150,7 +5150,7 @@ SDValue PPCTargetLowering::LowerCall_64S
   const unsigned NumVRs  = array_lengthof(VR);
   const unsigned NumQFPRs = NumFPRs;
 
-  // On ELFv2, we can avoid allocating the parameter area if all the arguments 
+  // On ELFv2, we can avoid allocating the parameter area if all the arguments
   // can be passed to the callee in registers.
   // For the fast calling convention, there is another check below.
   // Note: We should keep consistent with LowerFormalArguments_64SVR4()
@@ -5237,17 +5237,17 @@ SDValue PPCTargetLowering::LowerCall_64S
 
   unsigned NumBytesActuallyUsed = NumBytes;
 
-  // In the old ELFv1 ABI, 
+  // In the old ELFv1 ABI,
   // the prolog code of the callee may store up to 8 GPR argument registers to
   // the stack, allowing va_start to index over them in memory if its varargs.
   // Because we cannot tell if this is needed on the caller side, we have to
   // conservatively assume that it is needed.  As such, make sure we have at
   // least enough stack space for the caller to store the 8 GPRs.
-  // In the ELFv2 ABI, we allocate the parameter area iff a callee 
+  // In the ELFv2 ABI, we allocate the parameter area iff a callee
   // really requires memory operands, e.g. a vararg function.
   if (HasParameterArea)
     NumBytes = std::max(NumBytes, LinkageSize + 8 * PtrByteSize);
-  else 
+  else
     NumBytes = LinkageSize;
 
   // Tail call needs the stack to be aligned.
@@ -5467,7 +5467,7 @@ SDValue PPCTargetLowering::LowerCall_64S
         if (CallConv == CallingConv::Fast)
           ComputePtrOff();
 
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist to pass an argument in memory.");
         LowerMemOpCallTo(DAG, MF, Chain, Arg, PtrOff, SPDiff, ArgOffset,
                          true, isTailCall, false, MemOpChains,
@@ -5554,7 +5554,7 @@ SDValue PPCTargetLowering::LowerCall_64S
           PtrOff = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, ConstFour);
         }
 
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist to pass an argument in memory.");
         LowerMemOpCallTo(DAG, MF, Chain, Arg, PtrOff, SPDiff, ArgOffset,
                          true, isTailCall, false, MemOpChains,
@@ -5590,7 +5590,7 @@ SDValue PPCTargetLowering::LowerCall_64S
       // GPRs when within range.  For now, we always put the value in both
       // locations (or even all three).
       if (isVarArg) {
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist if we have a varargs call.");
         // We could elide this store in the case where the object fits
         // entirely in R registers.  Maybe later.
@@ -5624,7 +5624,7 @@ SDValue PPCTargetLowering::LowerCall_64S
         if (CallConv == CallingConv::Fast)
           ComputePtrOff();
 
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist to pass an argument in memory.");
         LowerMemOpCallTo(DAG, MF, Chain, Arg, PtrOff, SPDiff, ArgOffset,
                          true, isTailCall, true, MemOpChains,
@@ -5646,7 +5646,7 @@ SDValue PPCTargetLowering::LowerCall_64S
     case MVT::v4i1: {
       bool IsF32 = Arg.getValueType().getSimpleVT().SimpleTy == MVT::v4f32;
       if (isVarArg) {
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist if we have a varargs call.");
         // We could elide this store in the case where the object fits
         // entirely in R registers.  Maybe later.
@@ -5680,7 +5680,7 @@ SDValue PPCTargetLowering::LowerCall_64S
         if (CallConv == CallingConv::Fast)
           ComputePtrOff();
 
-        assert(HasParameterArea && 
+        assert(HasParameterArea &&
                "Parameter area must exist to pass an argument in memory.");
         LowerMemOpCallTo(DAG, MF, Chain, Arg, PtrOff, SPDiff, ArgOffset,
                          true, isTailCall, true, MemOpChains,




More information about the llvm-commits mailing list