summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2021-10-18 11:39:36 +0100
committerJay Foad <jay.foad@amd.com>2021-10-18 11:55:40 +0100
commitd55db4b033f037d60489a145ab3fdd0a0ce3a389 (patch)
treee928be8f7fde6012fd168659813a7ec80a5e7e3f
parentc4ede6d60892a5101d159b4876ad76fc8eefc837 (diff)
downloadllvm-d55db4b033f037d60489a145ab3fdd0a0ce3a389.tar.gz
[AMDGPU] Remove unused VirtRegMap analysis. NFC.
-rw-r--r--llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp2
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());