From: Lauro Ramos Venancio Date: Tue, 13 Feb 2007 18:10:13 +0000 (+0000) Subject: Add a space between // and the comment. X-Git-Tag: android-x86-6.0-r1~1003^2~37264 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cf8270a9941e697243bb9c91d5d8b2e1fc01a35c;p=android-x86%2Fexternal-llvm.git Add a space between // and the comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34244 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4804db7534d..cb003e4a956 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -2935,9 +2935,9 @@ TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) { bool isSRet = FTy->paramHasAttr(j, FunctionType::StructRetAttribute); unsigned OriginalAlignment = getTargetData()->getTypeAlignmentABI(I->getType()); - //Flags[31:27]-> OriginalAlignment - //Flags[2] -> isSRet - //Flags[1] -> isInReg + // Flags[31:27] -> OriginalAlignment + // Flags[2] -> isSRet + // Flags[1] -> isInReg unsigned Flags = (isInReg << 1) | (isSRet << 2) | (OriginalAlignment << 27); switch (getTypeAction(VT)) { @@ -2959,7 +2959,7 @@ TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) { unsigned NumVals = getNumElements(VT); for (unsigned i = 0; i != NumVals; ++i) { RetVals.push_back(NVT); - //if it isn't first piece, alignment must be 1 + // if it isn't first piece, alignment must be 1 if (i == 1) Flags = (Flags & 0x07ffffff) | (1 << 27); Ops.push_back(DAG.getConstant(Flags, MVT::i32)); } @@ -3067,7 +3067,7 @@ static void ExpandScalarCallArgs(MVT::ValueType VT, SDOperand Arg, bool isFirst = true) { if (TLI.getTypeAction(VT) != TargetLowering::Expand) { - //if it isn't first piece, alignment must be 1 + // if it isn't first piece, alignment must be 1 if (!isFirst) Flags = (Flags & 0x07ffffff) | (1 << 27); Ops.push_back(Arg); @@ -3121,10 +3121,10 @@ TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy, bool isSRet = Args[i].isSRet; unsigned OriginalAlignment = getTargetData()->getTypeAlignmentABI(Args[i].Ty); - //Flags[31:27]-> OriginalAlignment - //Flags[2] -> isSRet - //Flags[1] -> isInReg - //Flags[0] -> isSigned + // Flags[31:27] -> OriginalAlignment + // Flags[2] -> isSRet + // Flags[1] -> isInReg + // Flags[0] -> isSigned unsigned Flags = (isSRet << 2) | (isInReg << 1) | isSigned | (OriginalAlignment << 27);