piotrAMD wrote: > si-fold-operands That's not it - si-fold-operands is too late. I definitely see the problem earlier - in si-fix-sgpr-copies. It looks related (subreg handling with true16) but will require a separate fix. https://github.com/llvm/llvm-project/pull/160891