skatkov added a comment. Evgeny, I posted an alternate solution https://reviews.llvm.org/D42290. Could you please check whether it fixes your regression and do not introduce others? Repository: rL LLVM https://reviews.llvm.org/D41578