piotr added a comment. The patch has been created for consistency in the same way as https://reviews.llvm.org/D49483, where a similar optimisation was added. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63073/new/ https://reviews.llvm.org/D63073