pre-commit (diff): llvm/llvm-project/compare/main...fhahn:scev-howmanlessthans-no-overflow-2 - #1195
Open
zyw-bot wants to merge 3 commits into
Open
pre-commit (diff): llvm/llvm-project/compare/main...fhahn:scev-howmanlessthans-no-overflow-2#1195zyw-bot wants to merge 3 commits into
zyw-bot wants to merge 3 commits into
Conversation
fhahn
added a commit
to fhahn/llvm-project
that referenced
this pull request
Sep 4, 2026
Follow-up to Re-use AddingStrideMinusOneMayOverflow (was MayAddOverflow) when Start - Stride < RHS. This is a generalization of using !IVMayOverflow (was added in llvm#218694). This handles 2 additional cases when Start < RHS: * Stride is known power-of-2: * Start == Stride and Start == Stride -1. This moves up the existing MayAddOverflow with comments, and clarifies the name to AddingStrideMinusOneMayOverflow. This improves trip count computations in a number of real-world cases: dtcxzyw/llvm-opt-benchmark-nightly#1195. End-to-end Alive2 Proofs for both cases in unsigned: https://alive2.llvm.org/ce/z/MQ2YLf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please read the instructions in the README to reproduce the results locally.
cc @fhahn
Current: llvm/llvm-project@main...fhahn:scev-howmanlessthans-no-overflow-2
Baseline commit: llvm/llvm-project@230ba12
Changes in statistics
Top changes:
Diff report
Download the full diff list: z_fulldiff.csv
Artifacts
Selected raw llvm-relaxed-diff outputs (19 file pairs, up to 100 MB) can be downloaded from https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/actions/runs/33872420520.
Grouped changes
report: add > sub
report: add < sub