diff --git a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index a11e13d88b8..5ce4267c1a0 100644 --- a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -648,7 +648,7 @@ private: case PhiState::Conflict: return stateA; } - assert(false && "only three states!"); + llvm_unreachable("only three states!"); } }; }