[llvm] d55db4b - [AMDGPU] Remove unused VirtRegMap analysis. NFC.

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 03:55:46 PDT 2021


Author: Jay Foad
Date: 2021-10-18T11:55:40+01:00
New Revision: d55db4b033f037d60489a145ab3fdd0a0ce3a389

URL: https://github.com/llvm/llvm-project/commit/d55db4b033f037d60489a145ab3fdd0a0ce3a389
DIFF: https://github.com/llvm/llvm-project/commit/d55db4b033f037d60489a145ab3fdd0a0ce3a389.diff

LOG: [AMDGPU] Remove unused VirtRegMap analysis. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
index 3822ba387561..193d106a1230 100644
--- a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
@@ -35,7 +35,6 @@ class SILowerSGPRSpills : public MachineFunctionPass {
 private:
   const SIRegisterInfo *TRI = nullptr;
   const SIInstrInfo *TII = nullptr;
-  VirtRegMap *VRM = nullptr;
   LiveIntervals *LIS = nullptr;
 
   // Save and Restore blocks of the current function. Typically there is a
@@ -289,7 +288,6 @@ bool SILowerSGPRSpills::runOnMachineFunction(MachineFunction &MF) {
   TII = ST.getInstrInfo();
   TRI = &TII->getRegisterInfo();
 
-  VRM = getAnalysisIfAvailable<VirtRegMap>();
   LIS = getAnalysisIfAvailable<LiveIntervals>();
 
   assert(SaveBlocks.empty() && RestoreBlocks.empty());


        


More information about the llvm-commits mailing list