summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/rotate-extract.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombiner] Bug 31275- Extract a shift from a constant mul or udiv if a ↵David Bolvansky2018-07-301-12/+9
| | | | | | | | | | | | | | | | | | | rotate can be formed Summary: Attempt to extract a shrl from a udiv or a shl from a mul if this allows a rotate to be formed. This targets cases where the input to a rotate pattern was a mul or udiv by a constant and InstCombine merged one of the shifts with the op. Patch by: sameconrad (Sam Conrad) Reviewers: RKSimon, craig.topper, spatel, lebedev.ri, javed.absar Reviewed By: lebedev.ri Subscribers: efriedma, kparzysz, llvm-commits Differential Revision: https://reviews.llvm.org/D47681 llvm-svn: 338270
* [DAGCombiner] Add rotate-extract testsSimon Pilgrim2018-07-191-0/+148
Add new tests from D47681 to current codegen. Also added i686 codegen tests. llvm-svn: 337445
OpenPOWER on IntegriCloud