summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/rotate.ll
Commit message (Collapse)AuthorAgeFilesLines
* Add more rotate tests, including ORs of rotatesKrzysztof Parzyszek2019-03-211-0/+24
| | | | | | This is a part of https://reviews.llvm.org/D47735. llvm-svn: 356683
* [Hexagon] Add patterns for funnel shiftsKrzysztof Parzyszek2018-12-201-27/+14
| | | | llvm-svn: 349770
* [SelectionDAG] Provide default expansion for rotatesKrzysztof Parzyszek2018-06-121-0/+205
Implement default legalization of rotates: either in terms of the rotation in the opposite direction (if legal), or in terms of shifts and ors. Implement generating of rotate instructions for Hexagon. Hexagon only supports rotates by an immediate value, so implement custom lowering of ROTL/ROTR on Hexagon. If a rotate is not legal, use the default expansion. Differential Revision: https://reviews.llvm.org/D47725 llvm-svn: 334497
OpenPOWER on IntegriCloud