[llvm] [AMDGPU][True16][CodeGen]Support V2S copy with True16 flow (PR #118037)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 02:59:09 PST 2025


================
@@ -1075,10 +1075,25 @@ void SIFixSGPRCopies::lowerVGPR2SGPRCopies(MachineFunction &MF) {
         TRI->getRegClassForOperandReg(*MRI, MI->getOperand(1));
     size_t SrcSize = TRI->getRegSizeInBits(*SrcRC);
     if (SrcSize == 16) {
----------------
arsenm wrote:

It does need to be handled here, but if you're seeing this in practice something else is likely missing 

https://github.com/llvm/llvm-project/pull/118037


More information about the llvm-commits mailing list