aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/IntegersSubset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h
index 35e2dadb95..4d76fab2d0 100644
--- a/include/llvm/Support/IntegersSubset.h
+++ b/include/llvm/Support/IntegersSubset.h
@@ -218,8 +218,7 @@ public:
const_cast<Type&>(RangeType) = RANGE;
return false;
}
- assert(!"Unknown state?!");
- return false;
+ llvm_unreachable("Unknown state?!");
}
const IntType& getLow() const {