diff options
author | Bob Wilson <bob.wilson@apple.com> | 2014-02-27 21:59:17 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2014-02-27 21:59:17 +0000 |
commit | 32dc99a48033d433eb97398b2bb91e09e55d3de7 (patch) | |
tree | e25a8c99bfa64b53ca9c454131cead8cce271106 /clang/lib/CodeGen/CodeGenPGO.h | |
parent | 08da97819a87df1ba5b5596bfaafbdcb7cf041e9 (diff) | |
download | bcm5719-llvm-32dc99a48033d433eb97398b2bb91e09e55d3de7.tar.gz bcm5719-llvm-32dc99a48033d433eb97398b2bb91e09e55d3de7.zip |
Remove an assertion that no longer holds. <rdar://problem/16135814>
In r201528, I changed the PGO instrumentation counter for a "do" loop to not
include the fall-through count. That fall-through count is included later, b
it means that this assertion may fail for "do" loops.
llvm-svn: 202437
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenPGO.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.h b/clang/lib/CodeGen/CodeGenPGO.h index 083e5466c66..5f7da4c79a0 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; } |