commit | 2b06cd3076bbc4547d58109722c79b33366d594d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 30 18:22:13 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 30 18:22:13 2008 +0000 |
tree | 540c5d6ba547c04eee48f2e86ce4f39ffd0c26ed | |
parent | 6192ce0a0e5880e48729f9a70a71db52e329b231 [diff] |
Fix "Control reaches the end of non-void function" warnings, patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 84d534d..80b5c04 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -808,6 +808,7 @@ 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