weimingz added a comment. This fixes some SPEC2000 fails when build for Thumb1 with -Os. I do not upload the lit test because it's not easy to reduce to a simple/clean one as it needs specific reg alloc to show the problem. https://reviews.llvm.org/D32250