summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
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
commit0bd9546039e0815e028fb3a507eefff722d92d7b (patch)
tree71929133d3157c9a847c0274f4bb3edf7efaaa70 /llvm/lib/CodeGen/SelectionDAG
parent13f18e853fcc1ad04d7d06786de0c647e0924aae (diff)
downloadbcm5719-llvm-0bd9546039e0815e028fb3a507eefff722d92d7b.tar.gz
bcm5719-llvm-0bd9546039e0815e028fb3a507eefff722d92d7b.zip
Delete redundant return statements.
llvm-svn: 63120
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index c467d9c3cb4..982177cf61e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud