[llvm] r255334 - [InstCombine] Make MatchBSwap also match bit reversals

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 08:08:52 PST 2016


On Thu, Dec 24, 2015 at 10:58:59PM +0000, James Molloy via llvm-commits wrote:
> Ah yes, looking at the IR output makes it clearer. There are ORs on each
> side of the expression all the way down.
> 
> The algorithm has been in tree for years... We could surely modify this
> patch to make it look more like a byte swap and trigger it in years old
> versions of LLVM! :/
> 
> I'll create a patch but it'll be after these few days of Christmas :)

Holidays are over, any chance to look at it? :)

Joerg


More information about the llvm-commits mailing list