diff options
author | Daniil Suchkov <suc-daniil@yandex.ru> | 2023-10-31 11:43:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 11:43:57 -0700 |
commit | 1344b65c90507e2368a3d0678df9f179e8890665 (patch) | |
tree | f5b59d527cf0a3fa897a855e2d1ea7030744ed94 /clang/lib/Sema/SemaInit.cpp | |
parent | f706411f71a29bc8bb6c04b21958fa3a0d17fd99 (diff) | |
download | llvm-1344b65c90507e2368a3d0678df9f179e8890665.zip llvm-1344b65c90507e2368a3d0678df9f179e8890665.tar.gz llvm-1344b65c90507e2368a3d0678df9f179e8890665.tar.bz2 |
[SCEV] Fix incorrect NUW inference (#70521)
This patch fixes a miscompile in LSR caused by incorrect inference of
NUW flag for AddRec: we shouldn't infer no-wrap flags based on a
comparison which doesn't fully control the loop exit.
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions