emelliu wrote: @arsenm hello, I did some updating that it will recover inst operand's reg to original reg index when leave from PRE, don't need worry about any changed risk. How do you think of this? https://github.com/llvm/llvm-project/pull/129860