Provide better messages in llvm_unreachable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2012-01-17 07:00:13 +00:00
parent c6cf11b412
commit 58bd1510a4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -913,7 +913,7 @@ bool SDTypeConstraint::ApplyTypeConstraint(TreePatternNode *N,
EnforceVectorSubVectorTypeIs(NodeToApply->getExtType(ResNo), TP);
}
}
llvm_unreachable("Make GCC's unreachability happy");
llvm_unreachable("Invalid ConstraintType!");
}
//===----------------------------------------------------------------------===//