jmolloy accepted this revision. jmolloy added a comment. This revision is now accepted and ready to land. I had to convince myself that this is correct for big-endian. I think it is, as the transform is symmetric. LGTM. Repository: rL LLVM https://reviews.llvm.org/D25713