User Details
- User Since
- Apr 23 2023, 11:26 PM (23 w, 1 d)
Aug 24 2023
Updated the commit message
Simplified expression handling code, and cleaned up other things
Aug 22 2023
Rebased
ping !
Aug 16 2023
@efriedma I have fixed the SCEV part, it mostly seems correct. Also added the testcase with large add constant. Please take a look once ! thanks !
added empty line at end of file in a test case
updated with clang-format
Update the SCEV code and add a new testcase
Aug 9 2023
ping ping !!
Aug 4 2023
Aug 3 2023
Hey @efriedma Thanks for spotting the bug, I updated the SCEV for case when m > n, it seems to be correct now. Can you please review the patch, thanks !
Fixed issue with generated SCEV for ShlAmt > AshrAmt
Jul 31 2023
Updated LSR testcase and added new testcases for AShr SCEV model
Rebase
ping !! @nikic can you take a look at this, thanks !
ping @fhahn , @sdesmalen can you please review this once ? Thanks !
Jul 27 2023
ping !
Jul 26 2023
Jul 14 2023
Updated patch after running through clang-format
Jun 15 2023
Jun 14 2023
updated code to shift right the AddConstant by ShlAmt and flip add, trunc exprs
Jun 13 2023
removed restriction on shift amount and the corresponding test case
updated failing testcase in LSR
Jun 12 2023
Ping ! I didn't add the LSR failing testcase fix here, because I honestly don't know if it uncovered a bug, or it's a valid transformation in LSR.
Jun 11 2023
Jun 10 2023
Jun 9 2023
Refactored code to reuse ashr + shl handling code
Jun 8 2023
updated using clang-format
Hey @efriedma , I have made the requested changes (and replied to the questions). Please let me know if anything more needs to be done. Thanks !
Added check to make sure AddConstant isn't nullptr and few other changes.
Updated unit test to remove ret undefs
Jun 6 2023
Hey @fhahn @nikic @mkazantsev can you please review this patch, I stumbled upon this while working on a bug in LSR, this patch does fail one of the unit test-case (scaling-factor-incompat-type.ll) in LSR. I believe that might be an effect of SCEV of this AShr pattern being computed, as LSR generally does do some optimizations based on the Shl + Add + AShr instructions.
May 9 2023
May 8 2023
Run clang-format-diff on the code
May 5 2023
Hey @fhahn @jdoerfert Sorry for the delay, but I have updated the patch to reflect your requested changes. Please let me know if it looks okay ?
Removed pass wide unreachable block elimination added a depth_first approach to iterate over basic blocks
Apr 27 2023
Apr 25 2023
Hey @fhahn I don't have rights to commit this myself, can you commit it on my behalf ? (or give me commit access? edit: I have mailed chris, as per the docs) Thanks !
Apr 24 2023
Apr 23 2023
Removed whitespaces
run clang-format
minor fix to commit message