[llvm] [AMDGPU] Enable copy from VCC to SHARED_BASE. (PR #164138)
    Jay Foad via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 01:43:46 PDT 2025
    
    
  
jayfoad wrote:
> I ran it through the debugger looking at what happens in verifyInstruction in the same file. Both copies from VCC to SHARED_BASE and from SHARED_BASE to VCC get out at
> 
> 4971 if (SIInstrInfo::isGenericOpcode(Opcode)) (gdb) 4972 return true;
> 
> There is no verification done on the src and dst registers if you get out of the function this early.
That sounds like you're looking at a COPY instruction? MachineVerfier should still fail for an S_MOV_B64 instruction like the one you generate in this patch.
https://github.com/llvm/llvm-project/pull/164138
    
    
More information about the llvm-commits
mailing list