[InstCombine] Add trivial folding (bitreverse (bitreverse x)) -> x
authorJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 12:39:41 +0000 (12:39 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 12:39:41 +0000 (12:39 +0000)
There are plenty more instcombines we could probably do with bitreverse, but this seems like a very obvious and trivial starting point and was brought up by Hal in his review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252879 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found