tstellarAMD added inline comments. ================ Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:409 + if (RI.isSGPRClass(RC)) { + if (RC->getSize() > 4) { + Opcode = AMDGPU::S_MOV_B64; ---------------- We are supposed to use AMDGPU::getRegBitWidth() now. https://reviews.llvm.org/D25904