aturetsk added a comment. Note that the generated test is really LEA-specific, the majority of machine instructions gets modified by the pass. That's why the LEA pass takes ~25% of total compile time in this test. http://reviews.llvm.org/D19659