aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-02-21 09:14:48 +0100
committerGitHub <noreply@github.com>2024-02-21 09:14:48 +0100
commit7ce1a11f7f436234ce3eaf11c74043937a1ec36b (patch)
tree8a66cc1ed3fe1dae0ac115b583d46803dabbdc77 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parentd3fb596c9720b8bf192823730e9fccc3d86de9a8 (diff)
downloadllvm-7ce1a11f7f436234ce3eaf11c74043937a1ec36b.zip
llvm-7ce1a11f7f436234ce3eaf11c74043937a1ec36b.tar.gz
llvm-7ce1a11f7f436234ce3eaf11c74043937a1ec36b.tar.bz2
[InstCombine] Fold dependent IVs (#81151)
Fold `iv = phi(start, iv.next = iv2.next + start)` where `iv2 = phi(iv2.start, iv2.next = iv2 + iv2.step)` to `iv = iv2 + start` removing one induction variable from the loop. Proof: https://alive2.llvm.org/ce/z/hfmwgf Fixes https://github.com/llvm/llvm-project/issues/77108.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions