diff options
-rw-r--r-- | llvm/include/llvm/Support/IntegersSubset.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/IntegersSubset.h b/llvm/include/llvm/Support/IntegersSubset.h index 35e2dadb956..4d76fab2d09 100644 --- a/llvm/include/llvm/Support/IntegersSubset.h +++ b/llvm/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 { |