commit | e54a2b399d1abb792c816430a2ac4e09962113a9 | [log] [tgz] |
---|---|---|
author | Andrew Zhogin <andrew.zhogin@gmail.com> | Wed Jul 05 17:55:42 2017 +0000 |
committer | Andrew Zhogin <andrew.zhogin@gmail.com> | Wed Jul 05 17:55:42 2017 +0000 |
tree | 8443f8da950acb2c0ebd5a3b3e28c0d4215b5932 | |
parent | 1f90a252c7cf3a64cf23eaf9a2365be77d37a98c [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307179 91177308-0d34-0410-b5e6-96231b3b80d8