Index: llvm/lib/Target/AMDGPU/SIInstructions.td =================================================================== --- llvm/lib/Target/AMDGPU/SIInstructions.td +++ llvm/lib/Target/AMDGPU/SIInstructions.td @@ -479,7 +479,7 @@ // Tail call handling pseudo def SI_TCRETURN : SPseudoInstSI <(outs), - (ins SSrc_b64:$src0, unknown:$callee, i32imm:$fpdiff), + (ins SReg_64:$src0, unknown:$callee, i32imm:$fpdiff), [(AMDGPUtc_return i64:$src0, tglobaladdr:$callee, i32:$fpdiff)]> { let Size = 4; let isCall = 1; Index: llvm/test/MC/AMDGPU/sop1-err.s =================================================================== --- llvm/test/MC/AMDGPU/sop1-err.s +++ llvm/test/MC/AMDGPU/sop1-err.s @@ -39,3 +39,6 @@ s_mov_b64 s[102:103], -1 // VI: error: register not available on this GPU + +s_setpc_b64 0 +// GCN: error: invalid operand for instruction