Teach Thumb2 isel to fold and->rotr ==> ROR.
authorAndrew Trick <atrick@apple.com>
Fri, 29 Apr 2011 14:18:15 +0000 (14:18 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 29 Apr 2011 14:18:15 +0000 (14:18 +0000)
commitd49ffe8284457953db68db063b527ee9c346b67a
tree917702f45d3857a6665e9c282bf5ac8f06e3cb80
parenta432997745f668e85e45826106430f69238b1d1e
Teach Thumb2 isel to fold and->rotr ==> ROR.

Generalization of Nate Begeman's patch!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130502 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/Thumb2/thumb2-ror.ll