Petar.Avramovic added a comment. This patch needs only bswap, I just checked and it worked fine for me, what was the error? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71363/new/ https://reviews.llvm.org/D71363