User Details
- User Since
- Nov 11 2022, 9:48 PM (12 w, 1 d)
Tue, Jan 31
I think the example is correct.
Even before this patch:
TC > 0 is translated to max (TC, 1)
TC < 99 is translated to min (TC, 98)
Thu, Jan 26
Tue, Jan 24
I wonder if it might make sense to address this first? I'm a bit worried that the only test coverage for this functionality we have right now is very indirect, by the effect the multiple has on ranges. It would be great if we could test this functionality directly based on the trip multiple.
ping
- added a CondGuardInst that consists of assumes and guards
- added to AC's basic.ll test
Mon, Jan 23
After this patch, depending on the assume processing order applyLoopGuards could create the following SCEV: max(min((8 * (TC / 8)) , 96), 8)
Thu, Jan 19
The improved trip multiples from the test results look good. Ordering in applyLoopGuards is an issue. However, I think we can simplify this down a bit. What if we always applied min/max first, before we apply divisibility guards? For example, given:
Tue, Jan 17
What is the relation to https://reviews.llvm.org/D128701? Seems maybe you should close the other one.
Mon, Jan 16
- Fix typos
- Don't assume multiples hold through truncation, unless they are a power of 2
- only show diffs for updated test outputs
Fri, Jan 13
Thu, Jan 12
- support UMinSequential. Add a test (see note below)
- single isa<SCEVMinMaxExpr>(S) instead of checking each subtype
- fix code style based on comments
Thanks for review. Implemented all feedback.
Wed, Jan 11
Add a test where trip multiple is 1
edit comment in test
ping
Mon, Jan 9
Sun, Jan 8
Thu, Jan 5
Jan 5 2023
Jan 4 2023
Added suggested note that print<scalar-evolution> is needed to populate scev caches. I don't have commit access right now. I sent a request today, but can I get help merging this for now?
Added note that print<scalar-evolution> is used to populate scev caches
- explicit type of ProcessInstr, do not pass it to itself as parameter
- if I is in AftBlocks, we don't need to check its parent is in LocBB
- remove unnecessary run from test
Add -verify-scev to test
Jan 3 2023
ping
Dec 16 2022
Dec 12 2022
Thanks for the review. I am not a committer. Can I get help merging this? I have the commit in https://github.com/caojoshua/llvm-project/commit/8c5290e665a5e0c9276d6dcc0a1a56e3e23da27c
Dec 10 2022
Can I get help merging this? I'm not a committer. I have the patch in https://github.com/caojoshua/llvm-project/commit/cac29ca43207f316e2b0904bee45d778d903a76e
Dec 9 2022
update test with update_test_checks.py
Change redundant ifs into asserts. Change constant range check to use CR1.icmp(icmp_ult, CR2).
Dec 7 2022
Dec 1 2022
Nov 30 2022
ping
ping
Nov 22 2022
Nov 19 2022
Nov 13 2022
I have my git commit in in my github fork