summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/rotl-i64.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Hexagon] Simplify CFG after atomic expansionKrzysztof Parzyszek2018-08-021-14/+5
| | | | | | | | | | This will remove suboptimal branching from the generated ll/sc loops. The extra simplification pass affects a lot of testcases, which have been modified to accommodate this change: either by modifying the test to become immune to the CFG simplification, or (less preferablt) by adding option -hexagon-initial-cfg-clenaup=0. llvm-svn: 338774
* [SelectionDAG] Provide default expansion for rotatesKrzysztof Parzyszek2018-06-121-2/+2
| | | | | | | | | | | | | 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
* [Hexagon] Add more lit testsKrzysztof Parzyszek2018-03-121-0/+32
llvm-svn: 327271
OpenPOWER on IntegriCloud