diff options
author | Jay Foad <jay.foad@amd.com> | 2021-10-18 11:39:36 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2021-10-18 11:55:40 +0100 |
commit | d55db4b033f037d60489a145ab3fdd0a0ce3a389 (patch) | |
tree | e928be8f7fde6012fd168659813a7ec80a5e7e3f | |
parent | c4ede6d60892a5101d159b4876ad76fc8eefc837 (diff) | |
download | llvm-d55db4b033f037d60489a145ab3fdd0a0ce3a389.tar.gz |
[AMDGPU] Remove unused VirtRegMap analysis. NFC.
-rw-r--r-- | llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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()); |