vchuravy added a comment. I have a potential test-case for this, but the patch doesn't apply cleanly to master so I was unable to test if this solves the problem. F2433038: strip.ll <https://reviews.llvm.org/F2433038> https://reviews.llvm.org/D9168