aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-10 00:28:22 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-10 00:28:22 +0000
commit2ce4e5caddeacac0bde7933ce586a794bac2019b (patch)
treeb9bd76e0fafed574fcb0840a4feabf2659a36a76 /lib/CodeGen
parentf55a2101e300d1b4d420a1e71ca839e3146bdf70 (diff)
downloadexternal_llvm-2ce4e5caddeacac0bde7933ce586a794bac2019b.zip
external_llvm-2ce4e5caddeacac0bde7933ce586a794bac2019b.tar.gz
external_llvm-2ce4e5caddeacac0bde7933ce586a794bac2019b.tar.bz2
Whitespace fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 5d81d22..a5a4896 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -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.