aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-06-12 12:49:36 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-06-12 12:49:36 +0000
commit3d671248abc0949fad063a390fba8c17aa545a40 (patch)
tree70366c56f107f0c9eae92875bf122d9a35ff7f0d /llvm/lib/Support/Program.cpp
parent023bdc61483aa9fec48cb6b5bfeb9141b333af48 (diff)
downloadllvm-3d671248abc0949fad063a390fba8c17aa545a40.zip
llvm-3d671248abc0949fad063a390fba8c17aa545a40.tar.gz
llvm-3d671248abc0949fad063a390fba8c17aa545a40.tar.bz2
[SelectionDAG] Provide default expansion for rotates
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
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions