Refactor FoldUDivAction for future usage with multiplication. NFC
Patch by Danila Kutenin. email:danilak at google.com, github:danlark1@ . I don't have commit rights.
Paths
| Differential D71561
[InstCombine] Refactor FoldUDivAction for future usage with multiplication. NFC Needs ReviewPublic Authored by danlark on Dec 16 2019, 11:44 AM.
Details
Summary Refactor FoldUDivAction for future usage with multiplication. NFC Patch by Danila Kutenin. email:danilak at google.com, github:danlark1@ . I don't have commit rights.
Diff Detail
Event TimelineComment Actions There's a lot of changes in the diff. Comment Actions
Ok danlark retitled this revision from [InstCombine] `select + mul` -> `select + shl` with power of 2s. to [InstCombine] Refactor FoldUDivAction for future usage with multiplication. NFC.Dec 16 2019, 1:23 PM danlark added a child revision: D71567: [InstCombine] Add tests for `select + mul` for power of twos. NFC.Dec 16 2019, 1:33 PM danlark added a child revision: D71568: [InstCombine] `select + mul` -> `select + shl` with power of twos..Dec 16 2019, 1:50 PM Comment Actions
Finally done. PTAL Comment Actions LG i guess
This revision is now accepted and ready to land.Dec 17 2019, 1:57 PM This revision now requires review to proceed.Jan 12 2023, 5:42 PM Comment Actions
You should probably just push this seeing as you accepted it and there's a commit request
Revision Contents
Diff 234114 llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/mul.ll
|
I see that this is only moved, but generally it really just should be an assert().