[PATCH] D17102: AMDGPU/SI: Make sure MIMG descriptors and samplers stay in SGPRs

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 14:57:51 PST 2016


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:1948
@@ -1947,1 +1947,3 @@
 
+unsigned SIInstrInfo::copyVGPRToSGPR(unsigned SrcReg, MachineInstr *UseMI,
+                                 MachineRegisterInfo &MRI) const {
----------------
I think the name of this should be changed to not say copy, and involve readline. readlaneToSGPR?


http://reviews.llvm.org/D17102





More information about the llvm-commits mailing list