nikic wrote: Can you say at which point the sext is assigned to which member of the AddrMode and at which point it is later used again? Also, does this have any relation to what the MovedAway flag is trying to handle? https://github.com/llvm/llvm-project/pull/71058