probinson added a comment. I will try to look at this tomorrow if @vsk doesn't. Passes are not really my thing but as it's based on the existing opt code it should not be too hard to review. Repository: rL LLVM https://reviews.llvm.org/D49297