diff options
| author | Florian Hahn <flo@fhahn.com> | 2025-10-14 15:20:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-14 14:20:34 +0000 |
| commit | 2d027260b0f8ef9b2e0b2fc8c254b2b8da0ae4f7 (patch) | |
| tree | 25df5a61f4a62394e85da0a506ad2e18092cc78e /clang/lib/Serialization/ModuleCache.cpp | |
| parent | 8c6b499f066e2b39da1936e0f9ef994fcf0884b3 (diff) | |
| download | llvm-2d027260b0f8ef9b2e0b2fc8c254b2b8da0ae4f7.zip llvm-2d027260b0f8ef9b2e0b2fc8c254b2b8da0ae4f7.tar.gz llvm-2d027260b0f8ef9b2e0b2fc8c254b2b8da0ae4f7.tar.bz2 | |
[SCEV] Collect guard info for ICMP NE w/o constants. (#160500)
When collecting information from loop guards, use UMax(1, %b - %a) for
ICMP NE %a, %b, if neither are constant.
This improves results in some cases, and will be even more useful
together with
* https://github.com/llvm/llvm-project/pull/160012
* https://github.com/llvm/llvm-project/pull/159942
https://alive2.llvm.org/ce/z/YyBvoT
PR: https://github.com/llvm/llvm-project/pull/160500
Diffstat (limited to 'clang/lib/Serialization/ModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions
