================ @@ -1040,6 +1053,14 @@ void SIFoldOperandsImpl::foldOperand( } } + // Allow immediates COPYd into sgpr_lo16 to be further folded while ---------------- shiltian wrote: Is `COPYd` intentional? https://github.com/llvm/llvm-project/pull/128929