aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-27 19:23:22 +0000
committerDan Gohman <gohman@apple.com>2009-01-27 19:23:22 +0000
commitdaac99cdfb7b730d4317a0152c7ef27cc19bdab9 (patch)
tree6186bdd60ed0a97244f824cba520ce075b3cf3c0 /lib
parent9e79091f1a2c8a4ef0d238dbddaea273d27ef404 (diff)
downloadexternal_llvm-daac99cdfb7b730d4317a0152c7ef27cc19bdab9.zip
external_llvm-daac99cdfb7b730d4317a0152c7ef27cc19bdab9.tar.gz
external_llvm-daac99cdfb7b730d4317a0152c7ef27cc19bdab9.tar.bz2
Delete redundant return statements.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index c467d9c..982177c 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -1341,7 +1341,6 @@ void SelectionDAGLowering::visitJumpTable(JumpTable &JT) {
SDValue Table = DAG.getJumpTable(JT.JTI, PTy);
DAG.setRoot(DAG.getNode(ISD::BR_JT, MVT::Other, Index.getValue(1),
Table, Index));
- return;
}
/// visitJumpTableHeader - This function emits necessary code to produce index
@@ -1392,8 +1391,6 @@ void SelectionDAGLowering::visitJumpTableHeader(JumpTable &JT,
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, BrCond,
DAG.getBasicBlock(JT.MBB)));
-
- return;
}
/// visitBitTestHeader - This function emits necessary code to produce value
@@ -1439,8 +1436,6 @@ void SelectionDAGLowering::visitBitTestHeader(BitTestBlock &B) {
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, CopyTo,
DAG.getBasicBlock(MBB)));
-
- return;
}
/// visitBitTestCase - this function produces one "bit test"
@@ -1479,8 +1474,6 @@ void SelectionDAGLowering::visitBitTestCase(MachineBasicBlock* NextMBB,
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, BrAnd,
DAG.getBasicBlock(NextMBB)));
-
- return;
}
void SelectionDAGLowering::visitInvoke(InvokeInst &I) {