qcolombet added a comment. Hi Geoff, > I could split this out into a separate pass that optionally runs just before VirtRegRewriter if that is more desirable. Yes, that's more desirable. Thanks, Q. https://reviews.llvm.org/D25347