diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-03-30 18:22:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-03-30 18:22:13 +0000 |
| commit | 0f760dfe09fd25006c5d3c795c21332112758a92 (patch) | |
| tree | 8258243691ab670abe99b15596c764f18aff4607 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 519a51a76f1dcda9c3eb0e974567925f455f2013 (diff) | |
| download | bcm5719-llvm-0f760dfe09fd25006c5d3c795c21332112758a92.tar.gz bcm5719-llvm-0f760dfe09fd25006c5d3c795c21332112758a92.zip | |
Fix "Control reaches the end of non-void function" warnings,
patch by David Chisnall.
llvm-svn: 48963
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 84d534dfbb5..80b5c046a71 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -808,6 +808,7 @@ static SDOperand getCopyFromParts(SelectionDAG &DAG, return DAG.getNode(ISD::BIT_CONVERT, ValueVT, Val); assert(0 && "Unknown mismatch!"); + return SDOperand(); } /// getCopyToParts - Create a series of nodes that contain the specified value |

