Pre-commit test for D132443
Details
Details
- Reviewers
fhahn Whitney Meinersbur bmahjour monkchiang congzhe craig.topper - Group Reviewers
Restricted Project - Commits
- rGeff5c3e6c602: [LSR] Precommit test for D132443
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-complicate-add-rec.ll | ||
---|---|---|
2 ↗ | (On Diff #455487) | Move the RUN line above this description |
llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-const-tripcount.ll | ||
2 ↗ | (On Diff #455487) | Move the RUN line above this description |
llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-runtime-tripcount.ll | ||
2 ↗ | (On Diff #455487) | Same |
Comment Actions
Thanks for the update! Given hat all those tests seem to be slight variations of each other, should they be moved in the same file, with a comment highlighting the differences, which are mostly the trip count and/or the complexity of the addrec
llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-complicate-add-rec.ll | ||
---|---|---|
36 ↗ | (On Diff #456124) | nit: easier to right if the exit block is at the end. |
llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-runtime-tripcount.ll | ||
45 ↗ | (On Diff #456124) | is this needed? Could we not have a simple variant of /lsr-fold-iv-complicate-add-rec.ll where the incoming value is something like [ %N, %entry ] instead of [ 379, %entry ]? |
Comment Actions
Address comments from @fhahn
- Merge 3 testcases into a single file
- Simplify testcase for runtime tripcount
Nit: looks like a type ->ruin -> run :)