hliao added a comment. BTW, in the real example, that negative offset is created by LSR pass to reduce the code strength in a loop. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82234/new/ https://reviews.llvm.org/D82234