diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h index 35e2dadb956..4d76fab2d09 100644 --- a/include/llvm/Support/IntegersSubset.h +++ b/include/llvm/Support/IntegersSubset.h @@ -218,8 +218,7 @@ public: const_cast(RangeType) = RANGE; return false; } - assert(!"Unknown state?!"); - return false; + llvm_unreachable("Unknown state?!"); } const IntType& getLow() const {