[PATCH] D25904: AMDGPU: Refactor copyPhysReg

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 16:20:30 PDT 2016


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





More information about the llvm-commits mailing list