benshi001 added a comment. I have changed my code to cover the simlest case, with the sign bit of simm12 handled in the same way as upper bits. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102893/new/ https://reviews.llvm.org/D102893