aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2020-11-10 12:37:12 +0700
committerMax Kazantsev <mkazantsev@azul.com>2020-11-10 12:37:12 +0700
commit6022a8b7e8d1796284541bbf6bad40449c785fef (patch)
tree9231c58ad81c07ffe3d2b72ce5b8be2d001e979e /clang/lib/CodeGen/CodeGenModule.cpp
parentd93287cac89fd50a105ac4a59c079884b8e53e49 (diff)
downloadllvm-6022a8b7e8d1796284541bbf6bad40449c785fef.zip
llvm-6022a8b7e8d1796284541bbf6bad40449c785fef.tar.gz
llvm-6022a8b7e8d1796284541bbf6bad40449c785fef.tar.bz2
[SCEV] Drop cached ranges of AddRecs after flag update
Our range computation methods benefit from no-wrap flags. But if the ranges were first computed before the flags were set, the cached range will be too pessimistic. We need to drop cached ranges whenever we sharpen AddRec's no wrap flags. Differential Revision: https://reviews.llvm.org/D89847 Reviewed By: fhahn
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions