davide added a comment. As an alternative, you can merge the patch and the patch where you plan to use this code together (which would make more sense, IMHO). In fact, I'm still confused why you splitted this in the first place. https://reviews.llvm.org/D28515