Files
clang-p2996/llvm/lib/Transforms/Utils/SCCPSolver.cpp
Nikita Popov b569ec6de6 [SCCP] Infer nuw for gep nusw with non-negative offsets (#118819)
If the GEP is nusw/inbounds and has all-non-negative offsets infer nuw
as well.

This doesn't have measurable compile-time impact.

Proof: https://alive2.llvm.org/ce/z/ihztLy
2024-12-06 09:52:32 +01:00

81 KiB