bruno added a reviewer: bruno. bruno added a comment. Hi Andrey, IIUC, this patch also makes -Os run removeRedundantLEAs, which it previously didn't. Did you check what's the effect for compile time in -Os after this change? http://reviews.llvm.org/D19659