diff --git a/clang/lib/CodeGen/CodeGenPGO.h b/clang/lib/CodeGen/CodeGenPGO.h index 083e5466c661..5f7da4c79a01 100644 --- a/clang/lib/CodeGen/CodeGenPGO.h +++ b/clang/lib/CodeGen/CodeGenPGO.h @@ -186,7 +186,6 @@ public: /// within the region. The adjusted count, then, is the value of the counter /// at the end of the region. uint64_t getAdjustedCount() const { - assert((Adjust > 0 || (uint64_t)(-Adjust) <= Count) && "Negative count"); return Count + Adjust; }