thrimbor added a comment. I updated the patch and included a test case. I ran the test case before and after the change to make sure it behaves and tests correctly. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68352/new/ https://reviews.llvm.org/D68352