Add tests for select + mul for power of twos. NFC
Patch by Danila Kutenin. email:danilak at google.com, github:danlark1@ . I don't have commit rights.
Paths
| Differential D71567
[InstCombine] Add tests for `select + mul` for power of twos. NFC AcceptedPublic Authored by danlark on Dec 16 2019, 1:32 PM.
Details
Summary Add tests for select + mul for power of twos. NFC Patch by Danila Kutenin. email:danilak at google.com, github:danlark1@ . I don't have commit rights.
Diff Detail
Event Timelinedanlark retitled this revision from [InstCombine] Refactor FoldUDivAction for future usage with multiplication. NFC to [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 danlark retitled this revision from [InstCombine] Add tests for `select + mul` for power of twos. NFC to [InstCombine] Add tests for `select + mul` for power of twos. NFC. Comment ActionsThis comment was removed by danlark. Comment Actions You probably want to throw in some vector undef tests as well. This comment was removed by danlark. Comment Actions
All done This revision is now accepted and ready to land.Jan 9 2020, 9:35 AM
Revision Contents
Diff 234235 llvm/test/Transforms/InstCombine/mul.ll
|