summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-02-13 18:10:13 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-02-13 18:10:13 +0000
commitabde3cc16cced4e15e6103f0d4e446b6f518f52c (patch)
tree701c6a82bbe11266f76fb8b665b9760ddd79168c /llvm/lib
parentde9b8d05d8e9bdb1d381b800dc9a3afd81e869c2 (diff)
downloadbcm5719-llvm-abde3cc16cced4e15e6103f0d4e446b6f518f52c.tar.gz
bcm5719-llvm-abde3cc16cced4e15e6103f0d4e446b6f518f52c.zip
Add a space between // and the comment.
llvm-svn: 34244
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 4804db7534d..cb003e4a956 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud