Add 'llvm_unreachable' to passify GCC's understanding of the constraints
[oota-llvm.git] / lib / AsmParser / LLParser.cpp
index a5072be50a85f198659da46bbfe01cc45db11957..bab4f9d32821cf88ddbfad24f608d2911aff5cb3 100644 (file)
@@ -2549,6 +2549,7 @@ bool LLParser::ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V,
       return Error(ID.Loc, "constant expression type mismatch");
     return false;
   }
+  llvm_unreachable("Invalid ValID");
 }
 
 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) {