diff --git a/support/tools/TableGen/InstrSelectorEmitter.cpp b/support/tools/TableGen/InstrSelectorEmitter.cpp index 8bc8f611dd2..a3c535cad4e 100644 --- a/support/tools/TableGen/InstrSelectorEmitter.cpp +++ b/support/tools/TableGen/InstrSelectorEmitter.cpp @@ -210,6 +210,7 @@ TreePatternNode *Pattern::ParseTreePattern(DagInit *Dag) { } else { Arg->dump(); error("Unknown leaf value for tree pattern!"); + return 0; } // Apply the type cast...