0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-23 09:26:06 +00:00
Yingwei Zheng 2cc53628fb [SCEV] Check whether the start is non-zero in ScalarEvolution::howFarToZero ()
https://github.com/llvm/llvm-project/pull/94525 assumes that the loop
will be infinite when the stride is zero. However, it doesn't hold when
the start value of addrec is also zero.

Closes https://github.com/llvm/llvm-project/issues/131465.

(cherry picked from commit c5a491e9ea22014b65664b6e09134b4f055933e2)
2025-03-18 15:59:51 -07:00
..

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.