junbuml added a comment. Looks like this change catch the case which happen in merge_zr32_2_offset() : STRXui %XZR, %X0, 64; STRXui %XZR, %X0, 63; as we perform only forward search when finding matching instruction. https://reviews.llvm.org/D28251