Fix warning on sparc build


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8006 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/support/tools/TableGen/InstrSelectorEmitter.cpp b/support/tools/TableGen/InstrSelectorEmitter.cpp
index 2db6da4..8bc8f61 100644
--- a/support/tools/TableGen/InstrSelectorEmitter.cpp
+++ b/support/tools/TableGen/InstrSelectorEmitter.cpp
@@ -401,6 +401,7 @@
   } else {
     assert(0 && "Don't know how to get a slot name for this!");
   }
+  return "";
 }
 
 //===----------------------------------------------------------------------===//
diff --git a/utils/TableGen/InstrSelectorEmitter.cpp b/utils/TableGen/InstrSelectorEmitter.cpp
index 2db6da4..8bc8f61 100644
--- a/utils/TableGen/InstrSelectorEmitter.cpp
+++ b/utils/TableGen/InstrSelectorEmitter.cpp
@@ -401,6 +401,7 @@
   } else {
     assert(0 && "Don't know how to get a slot name for this!");
   }
+  return "";
 }
 
 //===----------------------------------------------------------------------===//