diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-12-10 00:28:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-12-10 00:28:22 +0000 |
commit | 4eb2dcdc45594b5030ffed5443b222bf630914fe (patch) | |
tree | 695128552caf42f622433540c842539186f71be4 /llvm/lib/CodeGen | |
parent | 43a120303beec97ac771bd2aa471f012005dc498 (diff) | |
download | bcm5719-llvm-4eb2dcdc45594b5030ffed5443b222bf630914fe.tar.gz bcm5719-llvm-4eb2dcdc45594b5030ffed5443b222bf630914fe.zip |
Whitespace fixes.
llvm-svn: 60818
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 5d81d224c88..a5a4896b700 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/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. |