OSDN Git Service

Whitespace fixes.
authorBill Wendling <isanbard@gmail.com>
Wed, 10 Dec 2008 00:28:22 +0000 (00:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 10 Dec 2008 00:28:22 +0000 (00:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60818 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

index 5d81d22..a5a4896 100644 (file)
@@ -2960,30 +2960,28 @@ const char *
 SelectionDAGLowering::implVisitBinaryAtomic(CallInst& I, ISD::NodeType Op) {
   SDValue Root = getRoot();   
   SDValue L = DAG.getAtomic(Op, Root, 
-                              getValue(I.getOperand(1)), 
-                              getValue(I.getOperand(2)),
-                              I.getOperand(1));
+                            getValue(I.getOperand(1)), 
+                            getValue(I.getOperand(2)),
+                            I.getOperand(1));
   setValue(&I, L);
   DAG.setRoot(L.getValue(1));
   return 0;
 }
 
-// implVisitAluOverflow - Lower an overflow instrinsics
+// implVisitAluOverflow - Lower arithmetic overflow instrinsics.
 const char *
 SelectionDAGLowering::implVisitAluOverflow(CallInst &I, ISD::NodeType Op) {
-    SDValue Op1 = getValue(I.getOperand(1));
-    SDValue Op2 = getValue(I.getOperand(2));
+  SDValue Op1 = getValue(I.getOperand(1));
+  SDValue Op2 = getValue(I.getOperand(2));
 
-    MVT ValueVTs[] = { Op1.getValueType(), MVT::i1 };
-    SDValue Ops[] = { Op1, Op2 };
+  MVT ValueVTs[] = { Op1.getValueType(), MVT::i1 };
+  SDValue Ops[] = { Op1, Op2 };
 
-    SDValue Result =
-      DAG.getNode(Op,
-                  DAG.getVTList(&ValueVTs[0], 2), &Ops[0], 2);
+  SDValue Result = DAG.getNode(Op, DAG.getVTList(&ValueVTs[0], 2), &Ops[0], 2);
 
-    setValue(&I, Result);
-    return 0;
-  }
+  setValue(&I, Result);
+  return 0;
+}
 
 /// visitExp - Lower an exp intrinsic. Handles the special sequences for
 /// limited-precision mode.