benshi001 added a comment. I have added tests for thumb2, however current patch does not apply to thumb2. I will submit another patch for thumb2 later, since smaller patches are easy to review. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D84100/new/ https://reviews.llvm.org/D84100