[PATCH] D36206: [AMDGPU] Delete dead code
    Matt Arsenault via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug  1 23:39:56 PDT 2017
    
    
  
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:504
-  MCPhysReg HighestVGPRReg = AMDGPU::NoRegister;
-  for (MCPhysReg Reg : reverse(AMDGPU::VGPR_32RegClass.getRegisters())) {
-    if (MRI.isPhysRegUsed(Reg)) {
----------------
This was supposed to be the fast part if there are no calls. I can fix this tomorrow
https://reviews.llvm.org/D36206
    
    
More information about the llvm-commits
mailing list