evstupac added a comment. The patch looks not that complicated. One of my next patches depends on it. Let's commit it and Arm guys will add test if necessary. Repository: rL LLVM https://reviews.llvm.org/D26367