luporl added a comment. @labath, the change you suggested really looks better, by reducing the number of special cases. I tested it on PPC64 and it also fixes the issue, as expected. I'll update the diff. Thanks! Repository: rL LLVM https://reviews.llvm.org/D42083