Skip to content
Commit 45d19282 authored by Andrew Zhogin's avatar Andrew Zhogin
Browse files

[DAGCombiner] visitRotate patch to optimize pair of ROTR/ROTL instructions...

[DAGCombiner] visitRotate patch to optimize pair of ROTR/ROTL instructions into one with combined shift operand.

For two ROTR operations with shifts C1, C2; combined shift operand will be (C1 + C2) % bitsize.

Differential revision: https://reviews.llvm.org/D12833

llvm-svn: 307179
parent d7faa916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment