[PATCH] D13873: AMDGPU: Rename enums to be consistent with HSA code object terminology

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 17:51:22 PST 2015


tstellarAMD added inline comments.

================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:605-610
@@ -604,8 +605,1 @@
-          TRI->getPreloadedValue(MF, SIRegisterInfo::DISPATCH_PTR);
-      unsigned DispatchPtrRegLo =
-          TRI->getPhysRegSubReg(DispatchPtrReg, &AMDGPU::SReg_32RegClass, 0);
-      unsigned DispatchPtrRegHi =
-          TRI->getPhysRegSubReg(DispatchPtrReg, &AMDGPU::SReg_32RegClass, 1);
-      CCInfo.AllocateReg(DispatchPtrRegLo);
-      CCInfo.AllocateReg(DispatchPtrRegHi);
       MF.addLiveIn(DispatchPtrReg, &AMDGPU::SReg_64RegClass);
----------------
This seems to be an unrelated change.


http://reviews.llvm.org/D13873





More information about the llvm-commits mailing list