hfinkel added a comment. Is there any aspect of this that is (or will be) specific to loop idiom recognition, or is this just a way for a target to insert a pass at some point early in the pipeline? Repository: rL LLVM http://reviews.llvm.org/D11782